|
SAP Convergent Charging
Java and XML APIs (BART) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.hci.XMLNode
public class XMLNode
Helper class that can be used during parsing of spurious tags.
| Constructor Summary | |
|---|---|
XMLNode()
Constructs an empty XML node. |
|
| Method Summary | |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element. |
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the child representing
the marshallable object which must be added to the element. |
XMLAttributes |
getAttributes()
Gets the attributes of this XML node. |
java.lang.String |
getCharacterData()
Returns the character data for this node. |
XMLMarshallable |
getChild()
Returns the child of this node. |
java.util.Vector<XMLMarshallable> |
getChildren()
Returns all the children of this node. |
java.lang.String |
getTag()
Gets the name of the tag. |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children. |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being processed. |
void |
setAttributesWithoutFreeze(XMLAttributes atts)
|
void |
setTag(java.lang.String t)
Sets the name of the tag |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLNode()
| Method Detail |
|---|
public java.lang.String getTag()
public void setTag(java.lang.String t)
t - the name of the tag.public void setAttributes(XMLAttributes atts)
XMLMarshallable
setAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void setAttributesWithoutFreeze(XMLAttributes atts)
public XMLAttributes getAttributes()
public void addCharacterData(java.lang.String cData)
XMLMarshallable
addCharacterData in interface XMLMarshallablecData - The character data to be addedpublic java.lang.String getCharacterData()
public XMLMarshallable getChild()
public java.util.Vector<XMLMarshallable> getChildren()
public void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.
addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void marshal(XMLOutputter output)
XMLMarshallable
marshal in interface XMLMarshallableoutput - The XML output to marshal the object into
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||