Package org.outerj.daisy.diff.tag
Class TextAtom
- java.lang.Object
-
- org.outerj.daisy.diff.tag.TextAtom
-
- All Implemented Interfaces:
Atom
- Direct Known Subclasses:
DelimiterAtom
public class TextAtom extends Object implements Atom
An Atom that represents a piece of ordinary text.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equalsIdentifier(Atom other)
String
getFullText()
String
getIdentifier()
String
getInternalIdentifiers()
boolean
hasInternalIdentifiers()
boolean
isValidAtom(String s)
String
toString()
-
-
-
Constructor Detail
-
TextAtom
public TextAtom(String s)
-
-
Method Detail
-
getFullText
public String getFullText()
- Specified by:
getFullText
in interfaceAtom
-
getIdentifier
public String getIdentifier()
- Specified by:
getIdentifier
in interfaceAtom
-
getInternalIdentifiers
public String getInternalIdentifiers()
- Specified by:
getInternalIdentifiers
in interfaceAtom
-
hasInternalIdentifiers
public boolean hasInternalIdentifiers()
- Specified by:
hasInternalIdentifiers
in interfaceAtom
-
isValidAtom
public boolean isValidAtom(String s)
- Specified by:
isValidAtom
in interfaceAtom
-
equalsIdentifier
public boolean equalsIdentifier(Atom other)
- Specified by:
equalsIdentifier
in interfaceAtom
-
-