|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jsefa.xml.lowlevel.model.TextContentImpl
public final class TextContentImpl
Implementation of TextContent
.
Instances of this class are immutable and thread safe.
Constructor Summary | |
---|---|
TextContentImpl(String content)
Constructs a new TextContentImpl . |
Method Summary | |
---|---|
String |
getText()
Returns the text. |
XmlItemType |
getType()
Returns the type of this xml item. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextContentImpl(String content)
TextContentImpl
.
content
- the contentMethod Detail |
---|
public String getText()
getText
in interface TextContent
public XmlItemType getType()
getType
in interface XmlItem
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |