org.apache.ws.jaxme.impl
Class JMSAXElementParser
public abstract class JMSAXElementParser
void | addAttribute(String pNamespaceURI, String pLocalName, 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()
|
String | getLocalName() - Returns the local name of the element being parsed.
|
String | getNamespaceURI() - Returns the namespace URI of the element being parsed.
|
void | init(JMUnmarshallerHandlerImpl pHandler, Object pObject, String pNamespaceURI, 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(Attributes pAttrs) - Invokes
addAttribute(String,String,String) for
all the attributes in the list pAttrs .
|
result
protected Object result
addAttribute
public void addAttribute(String pNamespaceURI,
String pLocalName,
String pValue)
throws SAXException
Sets the attribute with the namespace
pNamespace
and the local name pLocalName
to the value pValue
.
getEndLevel
public int getEndLevel()
Returns the end elements level (number of nested
elements enclosing this element).
getLocalName
public String getLocalName()
Returns the local name of the element being parsed.
getNamespaceURI
public String getNamespaceURI()
Returns the namespace URI of the element being parsed.
init
public void init(JMUnmarshallerHandlerImpl pHandler,
Object pObject,
String pNamespaceURI,
String pLocalName,
int pLevel)
Initializes the element parser by setting the required data.
isAtomic
public boolean isAtomic()
Returns, whether the element has atomic content.
isEmpty
public boolean isEmpty()
Returns, whether the element is empty.
setAttributes
public void setAttributes(Attributes pAttrs)
throws SAXException