|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.uhn.hl7v2.model.AbstractType
public abstract class AbstractType
An abstract Type that provides a default implementation of getName().
Constructor Summary | |
---|---|
AbstractType(Message message)
Creates a new instance of AbstractType |
Method Summary | |
---|---|
void |
clear()
Clears all data from this type |
java.lang.String |
encode()
Encodes this message using the parser returned by #getParser() |
ExtraComponents |
getExtraComponents()
Returns an object containing any extra (non-standard) components that have been added to this type at run-time. |
Message |
getMessage()
|
java.lang.String |
getName()
Returns the name of the type (used in XML encoding and profile checking) |
void |
parse(java.lang.String string)
Parses the string into this message using the parser returned by #getParser() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractType(Message message)
message
- message to which this type belongsMethod Detail |
---|
public java.lang.String getName()
getName
in interface Type
public ExtraComponents getExtraComponents()
Type
getExtraComponents
in interface Type
Type.getExtraComponents()
public Message getMessage()
getMessage
in interface Type
public void parse(java.lang.String string) throws HL7Exception
#getParser()
parse
in interface Type
HL7Exception
public java.lang.String encode() throws HL7Exception
#getParser()
encode
in interface Type
HL7Exception
public void clear()
clear
in interface Type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |