com.plumtree.portaluiinfrastructure.tags.xml
Class XMLFragment

java.lang.Object
  extended by 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)
           
 
Method Summary
 java.lang.String GetName(int _nRowIndex)
           
 int GetNumberOfRows()
           
 java.lang.Object[][] GetObjectXML()
           
 int GetType(int _nRowIndex)
           
 java.lang.String GetValue(int _nRowIndex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLFragment

public XMLFragment(XPArrayList arAttributes)
Method Detail

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.



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.