|
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.XMLAttributesImpl
public class XMLAttributesImpl
Implementation of HCI XML attributes from a SAX 2 parser.
| Constructor Summary | |
|---|---|
XMLAttributesImpl(org.xml.sax.Attributes attributes,
ReferenceResolver r)
|
|
XMLAttributesImpl(java.util.Hashtable<java.lang.String,java.lang.String> map)
|
|
| 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)
Gets the value of an XML attribute of boolean type. |
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. |
void |
reset(org.xml.sax.Attributes attributes,
ReferenceResolver r)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLAttributesImpl(org.xml.sax.Attributes attributes,
ReferenceResolver r)
public XMLAttributesImpl(java.util.Hashtable<java.lang.String,java.lang.String> map)
| Method Detail |
|---|
public java.lang.String getValue(java.lang.String attName)
XMLAttributes
getValue in interface XMLAttributesattName - The attribute to get the value for
public java.math.BigDecimal getDecimalValue(java.lang.String attName)
XMLAttributes
getDecimalValue in interface XMLAttributesattName - The name of the attribute
public java.util.Date getDateValue(java.lang.String attName)
XMLAttributes
getDateValue in interface XMLAttributesattName - The name of the attribute
public boolean getBooleanValue(java.lang.String attName)
XMLAttributes
getBooleanValue in interface XMLAttributesattName - The name of the attribute
true if the value of attName is "true", false otherwisepublic boolean getStrictBooleanValue(java.lang.String attName)
XMLAttributes
getStrictBooleanValue in interface XMLAttributesattName - The name of the attribute
true if the value of attName is "true", false otherwisepublic java.lang.Integer getIntegerValue(java.lang.String attName)
XMLAttributes
getIntegerValue in interface XMLAttributesattName - The name of the attribute
public java.lang.Long getLongValue(java.lang.String attName)
XMLAttributes
getLongValue in interface XMLAttributesattName - The name of the attribute
public java.math.BigInteger getBigIntegerValue(java.lang.String attName)
XMLAttributes
getBigIntegerValue in interface XMLAttributesattName - The name of the attribute
public java.lang.String[] getAttributesNames()
XMLAttributes
getAttributesNames in interface XMLAttributes
public java.lang.String registerHandler(java.lang.String attName,
ReferenceHandler handler)
XMLAttributes
registerHandler in interface XMLAttributesattName - The name of the referencehandler - The handler for references
public XMLAttributes freeze()
XMLAttributes
freeze in interface XMLAttributes
public void reset(org.xml.sax.Attributes attributes,
ReferenceResolver r)
|
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 | ||||||||