|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.ws.jaxme.impl.JMSAXGroupParser org.apache.ws.jaxme.impl.JMSAXElementParser
public abstract class JMSAXElementParser
A subclass of JMSAXGroupParser
for parsing complex elements.
Field Summary | |
---|---|
protected java.lang.Object |
result
|
Constructor Summary | |
---|---|
JMSAXElementParser()
|
Method Summary | |
---|---|
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 . |
Methods inherited from class org.apache.ws.jaxme.impl.JMSAXGroupParser |
---|
addText, endElement, isFinished, isMixed, startElement |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.Object result
Constructor Detail |
---|
public JMSAXElementParser()
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |