com.ochafik.lang.jnaerator.parser
Class Identifier

java.lang.Object
  extended by com.ochafik.lang.jnaerator.parser.Element
      extended by com.ochafik.lang.jnaerator.parser.Identifier
All Implemented Interfaces:
Comparable<Object>
Direct Known Subclasses:
Identifier.QualifiedIdentifier, Identifier.SimpleIdentifier

public abstract class Identifier
extends Element
implements Comparable<Object>


Nested Class Summary
static class Identifier.QualificationSeparator
           
static class Identifier.QualifiedIdentifier
           
static class Identifier.SimpleIdentifier
           
 
Field Summary
 
Fields inherited from class com.ochafik.lang.jnaerator.parser.Element
nameSpace, possibleLanguages
 
Constructor Summary
Identifier()
           
 
Method Summary
 Identifier clone()
           
 int compareTo(Object o)
           
 Identifier.QualifiedIdentifier derive(Identifier.QualificationSeparator separator, Identifier... subIdentifiers)
           
 Identifier.QualifiedIdentifier derive(Identifier.QualificationSeparator separator, String... subIdentifiers)
           
 boolean equals(Object obj)
           
 int hashCode()
           
abstract  boolean isPlain()
           
abstract  Identifier resolveAllButLastIdentifier()
           
abstract  Identifier.SimpleIdentifier resolveLastSimpleIdentifier()
           
abstract  List<Identifier.SimpleIdentifier> resolveSimpleIdentifiers()
           
 
Methods inherited from class com.ochafik.lang.jnaerator.parser.Element
accept, addNameSpace, addToCommentBefore, addToCommentBefore, changeValue, changeValue, cleanComment, cloneElements, cloneElements, cloneObject, deepClone, findParentOfType, findParentOfTypes, formatComments, formatComments, getCommentAfter, getCommentBefore, getElementFile, getElementLine, getFileOfAscendency, getGettersAndSetters, getId, getNameSpace, getNextChild, getNextSibling, getNextSibling, getParentElement, getPossibleLanguages, getPreviousChild, getPreviousSibling, getPreviousSibling, implode, importDetails, insertChild, insertSibling, moveAllCommentsBefore, replaceBy, replaceChild, replaceChild, resolvePossibleLanguages, setCommentAfter, setCommentBefore, setElementFile, setElementLine, setNameSpace, setParentElement, setPossibleLanguages, stripDetails, toString, toString, unmodifiableList
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Identifier

public Identifier()
Method Detail

derive

public Identifier.QualifiedIdentifier derive(Identifier.QualificationSeparator separator,
                                             Identifier... subIdentifiers)

derive

public Identifier.QualifiedIdentifier derive(Identifier.QualificationSeparator separator,
                                             String... subIdentifiers)

clone

public Identifier clone()
Overrides:
clone in class Element

isPlain

public abstract boolean isPlain()

resolveLastSimpleIdentifier

public abstract Identifier.SimpleIdentifier resolveLastSimpleIdentifier()

resolveSimpleIdentifiers

public abstract List<Identifier.SimpleIdentifier> resolveSimpleIdentifiers()

compareTo

public final int compareTo(Object o)
Specified by:
compareTo in interface Comparable<Object>

equals

public final boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public final int hashCode()
Overrides:
hashCode in class Object

resolveAllButLastIdentifier

public abstract Identifier resolveAllButLastIdentifier()


Copyright © 2009. All Rights Reserved.