|
SAP CC 1.0
API 4.2 (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface XMLOutputter
Interface to output XML document in an event-based manner. When outputting XML, the methods MUST be called in this order:
startTag(String) ,the attributes adding methods,addCharacterData ,output endTag(String) .
| Method Summary | |
|---|---|
void |
addAttribute(java.lang.String name,
java.lang.String value)
Adds an attribute of type string to the current tag. |
void |
addBigIntegerAttribute(java.lang.String name,
java.math.BigInteger value)
Adds an attribute of type big integer to the current tag. |
void |
addBooleanAttribute(java.lang.String name,
boolean value)
Adds an attribute of type boolean to the current tag. |
void |
addCharacterData(java.lang.String data)
Adds character data for the current tag. |
void |
addDateAttribute(java.lang.String name,
java.util.Date value)
Adds an attribute of type date to the current tag, dates are encoded using ISO 8601 format, that is: 'YYYY-MM-DD'. |
void |
addDateTimeAttribute(java.lang.String name,
java.util.Date value)
Adds an attribute of type date time to the current tag, datetimes are encoded using ISO 8601 format, that is: 'YYYY-MM-DDTHH:MM:SS.mmm'. |
void |
addDecimalAttribute(java.lang.String name,
java.math.BigDecimal value)
Adds an attribute of type string to the current tag. |
void |
addIntegerAttribute(java.lang.String name,
java.lang.Integer value)
Adds an attribute of type integer to the current tag. |
void |
addLongAttribute(java.lang.String name,
java.lang.Long value)
Adds an attribute of type long to the current tag. |
void |
endTag(java.lang.String tag)
Ends the tag. |
void |
startTag(java.lang.String tag)
Starts a XML tag. |
| Method Detail |
|---|
void startTag(java.lang.String tag)
tag - the name of the tag to start.
void addAttribute(java.lang.String name,
java.lang.String value)
name - the name of the attribute.value - the value of the attribute.
void addDecimalAttribute(java.lang.String name,
java.math.BigDecimal value)
name - the name of the attribute.value - the value of the attribute.
void addDateAttribute(java.lang.String name,
java.util.Date value)
name - the name of the attribute.value - the value of the attribute.
void addDateTimeAttribute(java.lang.String name,
java.util.Date value)
name - the name of the attribute.value - the value of the attribute.
void addBooleanAttribute(java.lang.String name,
boolean value)
name - the name of the attribute.value - the value of the attribute.
void addIntegerAttribute(java.lang.String name,
java.lang.Integer value)
name - the name of the attribute.value - the value of the attribute.
void addLongAttribute(java.lang.String name,
java.lang.Long value)
name - the name of the attribute.value - the value of the attribute.
void addBigIntegerAttribute(java.lang.String name,
java.math.BigInteger value)
name - the name of the attribute.value - the value of the attribute.void addCharacterData(java.lang.String data)
data - character data to add for the current tag.void endTag(java.lang.String tag)
tag - the name of the tag to close.
|
SAP CC 1.0
API 4.2 (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
SAP Convergent Charging 1.0 (build R4.2.1.35.0.0)
CONVERGENT CHARGING 4.2
(c) Copyright 2009 SAP AG. All rights reserved.