|
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 XMLAttributes
This Java interface allows to access to the attributes of an XML tag.
| Method Summary | |
|---|---|
XMLAttributes |
freeze()
Returns a frozen copy of the XML attributes. |
java.lang.String[] |
getAttributesNames()
Returns all the attributes names. |
java.math.BigInteger |
getBigIntegerValue(java.lang.String attName)
Gets the value of an XML attribute of big integer type. |
boolean |
getBooleanValue(java.lang.String attName)
Deprecated. |
java.util.Date |
getDateValue(java.lang.String attName)
Gets the value of an XML attribute of date type; Dates are encoded using ISO 8601 date and time formats. |
java.math.BigDecimal |
getDecimalValue(java.lang.String attName)
Gets the value of an XML attribute of decimal type. |
java.lang.Integer |
getIntegerValue(java.lang.String attName)
Gets the value of an XML attribute of integer type. |
java.lang.Long |
getLongValue(java.lang.String attName)
Gets the value of an XML attribute of long type. |
boolean |
getStrictBooleanValue(java.lang.String attName)
Gets the value of an XML attribute of boolean type. |
java.lang.String |
getValue(java.lang.String attName)
Gets the value of an XML attribute. |
java.lang.String |
registerHandler(java.lang.String attName,
ReferenceHandler handler)
Registers an ID reference on an attribute and returns the value of the attribute. |
| Method Detail |
|---|
java.lang.String getValue(java.lang.String attName)
attName - The attribute to get the value for
java.util.Date getDateValue(java.lang.String attName)
attName - The name of the attribute
XMLIllegalArgumentException - when the attribute value is not a ISO 8601 datejava.math.BigDecimal getDecimalValue(java.lang.String attName)
attName - The name of the attribute
XMLIllegalArgumentException - when the attribute value is not a decimal@Deprecated boolean getBooleanValue(java.lang.String attName)
attName - The name of the attribute
true if the value of attName is "true", false otherwiseboolean getStrictBooleanValue(java.lang.String attName)
attName - The name of the attribute
true if the value of attName is "true", false otherwise
XMLIllegalArgumentException - when the attribute value is not a booleanjava.lang.Integer getIntegerValue(java.lang.String attName)
attName - The name of the attribute
XMLIllegalArgumentException - when the attribute value is not a integerjava.lang.Long getLongValue(java.lang.String attName)
attName - The name of the attribute
XMLIllegalArgumentException - when the attribute value is not a longjava.math.BigInteger getBigIntegerValue(java.lang.String attName)
attName - The name of the attribute
XMLIllegalArgumentException - when the attribute value is not a big integerjava.lang.String[] getAttributesNames()
java.lang.String registerHandler(java.lang.String attName,
ReferenceHandler handler)
attName - The name of the referencehandler - The handler for references
XMLAttributes freeze()
|
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 | ||||||||