public class TextLiteralResource extends Object implements TextResource
Constructor and Description |
---|
TextLiteralResource(String resourceText)
Constructs a TextResource that wraps a string value, which is the resources' text content
|
Modifier and Type | Method and Description |
---|---|
String |
resourceText()
This TextResource wraps a string value, which is the resources' text content
|
public TextLiteralResource(String resourceText)
resourceText
- the resources' text contentpublic String resourceText()
resourceText
in interface TextResource
Copyright © 2016. All rights reserved.