|
SAP Convergent Charging
Java and XML APIs (BART) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface XMLMarshallable
This Java interface serves as a base for objects that can be marshalled and unmarshalled; Consider the
Java subinterfaces and the Java classes that implement this interface.
The methods provided by this interface, define the processes of marshalling content trees
into XML documents and vice-versa.
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:complexType name="XMLMarshallable" abstract="true"/>
| 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. |
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. |
| Method Detail |
|---|
void setAttributes(XMLAttributes atts)
atts - The XML attributes of the current element
void addChild(java.lang.String tagName,
XMLMarshallable child)
child representing
the marshallable object which must be added to the element.
tagName - The name of tag for the childchild - The child to be addedvoid addCharacterData(java.lang.String cData)
cData - The character data to be addedvoid marshal(XMLOutputter output)
output - 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 | ||||||||