fr.inria.oadymppac.parsing.info
Class AnnotationInfo
java.lang.Object
fr.inria.oadymppac.parsing.info.BasicInfo
fr.inria.oadymppac.parsing.info.EventInfo
fr.inria.oadymppac.parsing.info.AnnotationInfo
- All Implemented Interfaces:
- AnnotationAttributes, AnnotationCommandProvider, java.lang.Cloneable, DTDAnnotationElement, DTDEventAttributes, EventAttributes, Info, StateProvider
- public class AnnotationInfo
- extends EventInfo
- implements AnnotationAttributes, AnnotationCommandProvider, StateProvider, java.lang.Cloneable
- Author:
- raf
Fields inherited from interface fr.inria.oadymppac.parsing.event.Info |
logger |
Methods inherited from class fr.inria.oadymppac.parsing.info.EventInfo |
getChrono, getContext, getDepth, getFile, getLine, getTime, setChrono, setContext, setDepth, setFile, setLine, setTime |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INFO_TYPE
public static final int INFO_TYPE
- See Also:
- Constant Field Values
AnnotationInfo
public AnnotationInfo()
getInfoType
public int getInfoType()
- Specified by:
getInfoType
in interface Info
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone
in class BasicInfo
- Throws:
java.lang.CloneNotSupportedException
getIdentifier
public java.lang.String getIdentifier()
- Specified by:
getIdentifier
in interface AnnotationAttributes
getName
public java.lang.String getName()
- Specified by:
getName
in interface AnnotationAttributes
setIdentifier
public void setIdentifier(java.lang.String ident)
- Specified by:
setIdentifier
in interface AnnotationAttributes
setName
public void setName(java.lang.String name)
- Specified by:
setName
in interface AnnotationAttributes
getType
public short getType()
setType
public void setType(short type)
getReferences
public java.lang.String[] getReferences()
- Specified by:
getReferences
in interface AnnotationAttributes
setReferences
public void setReferences(java.lang.String[] references)
- Specified by:
setReferences
in interface AnnotationAttributes
getCommand
public AnnotationCommandInfo getCommand()
- Specified by:
getCommand
in interface AnnotationCommandProvider
- Returns:
- Returns the command.
setCommand
public void setCommand(AnnotationCommandInfo command)
- Specified by:
setCommand
in interface AnnotationCommandProvider
- Parameters:
command
- The command to set.
getState
public StateInfo getState()
- Specified by:
getState
in interface StateProvider
- Returns:
- Returns the state.
setState
public void setState(StateInfo state)
- Specified by:
setState
in interface StateProvider
- Parameters:
state
- The state to set.