com.plumtree.portaluiinfrastructure.tags.xml
Class XMLFragment
java.lang.Object
com.plumtree.portaluiinfrastructure.tags.xml.XMLFragment
- All Implemented Interfaces:
- IXMLFragment
public class XMLFragment
- extends java.lang.Object
- implements IXMLFragment
Basic implementation of IXMLFragment.
Constructor Summary |
XMLFragment(XPArrayList arAttributes)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLFragment
public XMLFragment(XPArrayList arAttributes)
GetType
public int GetType(int _nRowIndex)
- Specified by:
GetType
in interface IXMLFragment
- Returns:
- int The XML type (should be from PT_XML_TYPES).
GetName
public java.lang.String GetName(int _nRowIndex)
- Specified by:
GetName
in interface IXMLFragment
- Returns:
- The name of the tag or attribute.
GetValue
public java.lang.String GetValue(int _nRowIndex)
- Specified by:
GetValue
in interface IXMLFragment
- Returns:
- The value of an attribute.
GetNumberOfRows
public int GetNumberOfRows()
- Specified by:
GetNumberOfRows
in interface IXMLFragment
- Returns:
- The number of rows in the XML fragment.
GetObjectXML
public java.lang.Object[][] GetObjectXML()
- Specified by:
GetObjectXML
in interface IXMLFragment
- Returns:
- The underlying object XML.