public abstract class JMSAXElementParser extends JMSAXGroupParser
JMSAXGroupParser
for parsing complex elements.Modifier and Type | Field and Description |
---|---|
protected java.lang.Object |
result |
Constructor and Description |
---|
JMSAXElementParser() |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(java.lang.String pNamespaceURI,
java.lang.String pLocalName,
java.lang.String pValue)
Sets the attribute with the namespace
pNamespace and the local name pLocalName
to the value pValue . |
int |
getEndLevel()
Returns the end elements level (number of nested
elements enclosing this element).
|
JMUnmarshallerHandlerImpl |
getHandler() |
java.lang.String |
getLocalName()
Returns the local name of the element being parsed.
|
java.lang.String |
getNamespaceURI()
Returns the namespace URI of the element being parsed.
|
void |
init(JMUnmarshallerHandlerImpl pHandler,
java.lang.Object pObject,
java.lang.String pNamespaceURI,
java.lang.String pLocalName,
int pLevel)
Initializes the element parser by setting the required data.
|
boolean |
isAtomic()
Returns, whether the element has atomic content.
|
boolean |
isEmpty()
Returns, whether the element is empty.
|
void |
setAttributes(org.xml.sax.Attributes pAttrs)
Invokes
addAttribute(String, String, String) for
all the attributes in the list pAttrs . |
addText, endElement, isFinished, isMixed, startElement
public JMUnmarshallerHandlerImpl getHandler()
getHandler
in class JMSAXGroupParser
public boolean isAtomic()
public boolean isEmpty()
public java.lang.String getNamespaceURI()
public java.lang.String getLocalName()
public int getEndLevel()
public void init(JMUnmarshallerHandlerImpl pHandler, java.lang.Object pObject, java.lang.String pNamespaceURI, java.lang.String pLocalName, int pLevel)
public void addAttribute(java.lang.String pNamespaceURI, java.lang.String pLocalName, java.lang.String pValue) throws org.xml.sax.SAXException
pNamespace
and the local name pLocalName
to the value pValue
.org.xml.sax.SAXException
public void setAttributes(org.xml.sax.Attributes pAttrs) throws org.xml.sax.SAXException
addAttribute(String, String, String)
for
all the attributes in the list pAttrs
.org.xml.sax.SAXException