cs.arizona.util
Class ElementDetails

java.lang.Object
  extended by cs.arizona.util.ElementDetails

public class ElementDetails
extends java.lang.Object

Author:
shailesh

Field Summary
static int COMPLEX_TYPE
           
static int SIMPLE_TYPE
           
 
Constructor Summary
ElementDetails()
           
 
Method Summary
 void addAttribute(org.w3c.dom.Attr attribute)
           
 void addChildElement(org.w3c.dom.Element element)
           
 java.util.ArrayList getAttributes()
           
 java.util.ArrayList getChildElements()
           
 java.lang.String getElementName()
           
 int getElementType()
           
 void setAttributes(java.util.ArrayList attributes)
           
 void setChildElements(java.util.ArrayList childElements)
           
 void setElementName(java.lang.String elementName)
           
 void setElementType(int elementType)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIMPLE_TYPE

public static int SIMPLE_TYPE

COMPLEX_TYPE

public static int COMPLEX_TYPE
Constructor Detail

ElementDetails

public ElementDetails()
Method Detail

getAttributes

public java.util.ArrayList getAttributes()
Returns:
the attributes

setAttributes

public void setAttributes(java.util.ArrayList attributes)
Parameters:
attributes - the attributes to set

addAttribute

public void addAttribute(org.w3c.dom.Attr attribute)

addChildElement

public void addChildElement(org.w3c.dom.Element element)

getChildElements

public java.util.ArrayList getChildElements()
Returns:
the childElements

setChildElements

public void setChildElements(java.util.ArrayList childElements)
Parameters:
childElements - the childElements to set

getElementName

public java.lang.String getElementName()
Returns:
the elementName

setElementName

public void setElementName(java.lang.String elementName)
Parameters:
elementName - the elementName to set

getElementType

public int getElementType()
Returns:
the elementType

setElementType

public void setElementType(int elementType)
Parameters:
elementType - the elementType to set