|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ponder2.objects.P2Object
net.ponder2.objects.P2XML
public class P2XML
This is an internal Ponder2 XML object type. It represents an XML structure which can be operated upon with XPath commands
| Constructor Summary | |
|---|---|
protected |
P2XML()
constructor for Ponder2 serialisation |
| Method Summary | |
|---|---|
java.lang.String |
asString()
Returns itself as a String |
P2Object |
asXML()
Returns itself, used for compatibility with other types |
P2Object |
readXml(com.twicom.qdparser.TaggedElement xml,
java.util.Map<java.lang.Integer,P2Serializable> read)
|
java.lang.String |
toString()
|
com.twicom.qdparser.TaggedElement |
writeXml(java.util.Set<P2Object> written)
|
boolean |
xPathBoolean(java.lang.String anXPathExpression)
Answers a boolean generated by applying anXPathExpression to the receiver |
P2XML |
xPathNode(java.lang.String anXPathExpression)
Answers an XML element generated by applying anXPathExpression to the receiver |
P2Array |
xPathNodeSet(java.lang.String anXPathExpression)
Answers an array with XML elements generated by applying anXPathExpression to the receiver |
int |
xPathNumber(java.lang.String anXPathExpression)
Answers a number generated by applying anXPathExpression to the receiver |
java.lang.String |
xPathString(java.lang.String anXPathExpression)
Answers a string generated by applying anXPathExpression to the receiver |
| Methods inherited from class net.ponder2.objects.P2Object |
|---|
asArray, asBlock, asBoolean, asClass, asDouble, asFloat, asHash, asInteger, asLong, asNumber, asP2Array, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, fromXml, getManagedObject, getOID, getSMC, operation, operation, setSMC |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected P2XML()
| Method Detail |
|---|
public P2Array xPathNodeSet(java.lang.String anXPathExpression)
throws Ponder2OperationException
anXPathExpression - the XPath expression to be executed
Ponder2OperationException
public P2XML xPathNode(java.lang.String anXPathExpression)
throws Ponder2OperationException
anXPathExpression - the XPath expression to be executed
Ponder2OperationException
public java.lang.String xPathString(java.lang.String anXPathExpression)
throws Ponder2OperationException
anXPathExpression - the XPath expression to be executed
Ponder2OperationException
public boolean xPathBoolean(java.lang.String anXPathExpression)
throws Ponder2OperationException
anXPathExpression - the XPath expression to be executed
Ponder2OperationException
public int xPathNumber(java.lang.String anXPathExpression)
throws Ponder2OperationException
anXPathExpression - the XPath expression to be executed
Ponder2OperationException
public java.lang.String asString()
throws Ponder2OperationException
P2Object
asString in class P2ObjectPonder2OperationExceptionpublic P2Object asXML()
public com.twicom.qdparser.TaggedElement writeXml(java.util.Set<P2Object> written)
throws Ponder2OperationException
writeXml in interface P2SerializablewriteXml in class P2ObjectPonder2OperationException
public P2Object readXml(com.twicom.qdparser.TaggedElement xml,
java.util.Map<java.lang.Integer,P2Serializable> read)
throws Ponder2OperationException,
Ponder2ArgumentException
readXml in interface P2SerializablereadXml in class P2ObjectPonder2OperationException
Ponder2ArgumentExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||