public class PathSymbol extends AbstractSymbol implements PackageDescriptionFileSymbol
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
content
represents the content of the PathSymbol.
|
| Constructor and Description |
|---|
PathSymbol(java.lang.String content,
Position position)
This constructor instantiate the path symbol.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractPackageParserState |
accept(PackageDescriptionSymbolVisitor visitor,
PackageDescriptionFileParser parser)
calls the visitor with the Symbollist.
|
AbstractPackageParserState |
accept(PackageDescriptionSymbolVisitorWithTempRule visitor,
PackageDescriptionFileParser parser,
TempPackageRule tempPackageRule)
calls the visitor with the Symbollist.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getContent() |
int |
hashCode() |
java.lang.Boolean |
isPackageDescriptionFileSymbol() |
java.lang.Boolean |
isPathSymbol() |
PackageDescriptionFileSymbol |
toPackageDescriptionFileSymbol() |
PathSymbol |
toPathSymbol() |
java.lang.String |
toString() |
getPosition, isRowEndSymbol, isValueSymbol, toCommentSymbol, toOptionSymbol, toValueSymbol, toVariableSymbolclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetPosition, isRowEndSymbol, isValueSymbol, toCommentSymbol, toOptionSymbol, toValueSymbol, toVariableSymbolprivate final transient java.lang.String content
public PathSymbol(java.lang.String content,
Position position)
position - is the position of the data in the stream.content - is the content of the PathState.public java.lang.String getContent()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class AbstractSymbolpublic int hashCode()
hashCode in class AbstractSymbolpublic AbstractPackageParserState accept(PackageDescriptionSymbolVisitor visitor, PackageDescriptionFileParser parser) throws java.lang.InterruptedException, ParserException
PackageDescriptionFileSymbolaccept in interface PackageDescriptionFileSymbolvisitor - is the called visitor.parser - This is the PackageDescriptionparser.java.lang.InterruptedException - from the Buffer.ParserException - if the symbol is not expected.public AbstractPackageParserState accept(PackageDescriptionSymbolVisitorWithTempRule visitor, PackageDescriptionFileParser parser, TempPackageRule tempPackageRule) throws java.lang.InterruptedException, ParserException
PackageDescriptionFileSymbolaccept in interface PackageDescriptionFileSymbolvisitor - is the called visitor.parser - This is the PackageDescriptionparser.tempPackageRule - is a temporary package rule.java.lang.InterruptedException - from the Buffer.ParserException - if the symbol is not expected.public java.lang.Boolean isPathSymbol()
isPathSymbol in interface PackageDescriptionFileSymbolisPathSymbol in class AbstractSymbolpublic PathSymbol toPathSymbol()
toPathSymbol in interface PackageDescriptionFileSymboltoPathSymbol in class AbstractSymbolpublic java.lang.Boolean isPackageDescriptionFileSymbol()
isPackageDescriptionFileSymbol in interface PackageDescriptionFileSymbolisPackageDescriptionFileSymbol in class AbstractSymbolpublic PackageDescriptionFileSymbol toPackageDescriptionFileSymbol()
toPackageDescriptionFileSymbol in interface PackageDescriptionFileSymboltoPackageDescriptionFileSymbol in class AbstractSymbol