com.parabon.common.manifest.xml
Class AbstractXmlElement

java.lang.Object
  extended by com.parabon.common.manifest.xml.AbstractXmlElement
Direct Known Subclasses:
XmlCondition, XmlElement, XmlEntry, XmlManifest

public abstract class AbstractXmlElement
extends java.lang.Object


Constructor Summary
AbstractXmlElement(java.lang.String elementName)
           
AbstractXmlElement(java.lang.String elementName, org.xml.sax.Attributes attributes)
           
 
Method Summary
protected  boolean booleanAttributeValue(org.xml.sax.Attributes attributes, java.lang.String name)
           
protected  boolean booleanAttributeValue(org.xml.sax.Attributes attributes, java.lang.String name, boolean defaultValue)
           
 void end()
           
 void endChild(AbstractXmlElement child)
           
 java.lang.String getXmlName()
           
protected  java.lang.String requiredAttributeValue(org.xml.sax.Attributes attributes, java.lang.String name)
           
abstract  void start(java.lang.String elementName, org.xml.sax.Attributes attributes)
           
 AbstractXmlElement startChild(java.lang.String elementName, org.xml.sax.Attributes attributes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractXmlElement

public AbstractXmlElement(java.lang.String elementName)

AbstractXmlElement

public AbstractXmlElement(java.lang.String elementName,
                          org.xml.sax.Attributes attributes)
                   throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException
Method Detail

start

public abstract void start(java.lang.String elementName,
                           org.xml.sax.Attributes attributes)
                    throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

end

public void end()
         throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

startChild

public AbstractXmlElement startChild(java.lang.String elementName,
                                     org.xml.sax.Attributes attributes)
                              throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

endChild

public void endChild(AbstractXmlElement child)
              throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

booleanAttributeValue

protected boolean booleanAttributeValue(org.xml.sax.Attributes attributes,
                                        java.lang.String name,
                                        boolean defaultValue)
                                 throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

booleanAttributeValue

protected boolean booleanAttributeValue(org.xml.sax.Attributes attributes,
                                        java.lang.String name)
                                 throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

requiredAttributeValue

protected java.lang.String requiredAttributeValue(org.xml.sax.Attributes attributes,
                                                  java.lang.String name)
                                           throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getXmlName

public java.lang.String getXmlName()