|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.buildforge.services.common.api.xml.Element
public abstract class Element
Encapsulates the information from a generic XML element.
Field Summary | |
---|---|
Element |
parent
The parent element, as specified in the constructor. |
Constructor Summary | |
---|---|
Element(Element parent)
Creates a new element with the specified parent element. |
Method Summary | |
---|---|
abstract void |
addChild(Element child)
Adds a child element to this element. |
static org.xml.sax.SAXException |
corrupted(java.lang.String msg)
Convenience method for an element to form an exception that reports a violation of the protocol. |
abstract ElementType |
getElementType()
Returns the type of element that this is. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final Element parent
Constructor Detail |
---|
public Element(Element parent)
Method Detail |
---|
public abstract void addChild(Element child) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public abstract ElementType getElementType()
public static org.xml.sax.SAXException corrupted(java.lang.String msg)
msg
- protocol violation details
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |