|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
java.lang.String |
getTextContent()
Gets the textual content. |
boolean |
hasTextContent()
Checks if the implementation has textual content. |
boolean |
isDefault()
Checks if the data implementation is a default value or if a value was assigned explicitly. |
void |
restoreTextContent(ITextContentMemento aMemento)
|
ITextContentMemento |
saveTextContent()
|
void |
setTextContent(ITextContentProvider aTextContentProvider)
Sets the textual content by specifiying a provider for lazy evaluation. |
void |
setTextContent(java.lang.String aValue)
Sets the textual content. |
Method Detail |
public boolean isDefault()
true
iff the data implementation is a default value.public java.lang.String getTextContent()
public void setTextContent(java.lang.String aValue)
aValue
- (required).public void setTextContent(ITextContentProvider aTextContentProvider)
aTextContentProvider
- (required).public boolean hasTextContent()
Attribute implementations will always return true
because
attributes take their default values only if they are not present in the
instance.
Element implementation will return true
iff their text content
is null
or equal to the empty string. In other words the default
value of an element is used when the element is empty.
(cf. the note at W3C XML-Schema-Structure specification section 3.1.1).
true
iff there is textual content.public ITextContentMemento saveTextContent()
public void restoreTextContent(ITextContentMemento aMemento)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |