org.apache.ws.jaxme.xs.parser.impl
Class ChildSetterImpl
java.lang.Object
org.apache.ws.jaxme.xs.parser.impl.ChildSetterImpl
- ChildSetter
public class ChildSetterImpl
extends java.lang.Object
protected ContentHandler | getChildHandler(ContentHandler pParent, String pQName, String pLocalName)
|
ContentHandler | getChildHandler(String pQName, String pNamespaceURI, String pLocalName) - Returns a ContentHandler, which is able to handle the given child
element.
|
protected Object | invokeMethod(Object pBean, Method pMethod, String pName, Object[] pArgs) - This method invokes the beans
pBean method pMethod with
the argument array pArgs, returning a child handler for the element pQName .
|
protected ContentHandler | newXsSAXParser(XsSAXParser pParent, Object pBean) - Creates a new instance of
XsSAXParser , inheriting most properties from
its parent parser.
|
getChildHandler
protected ContentHandler getChildHandler(ContentHandler pParent,
String pQName,
String pLocalName)
throws SAXException
getChildHandler
public ContentHandler getChildHandler(String pQName,
String pNamespaceURI,
String pLocalName)
throws SAXException
Returns a ContentHandler, which is able to handle the given child
element.
- getChildHandler in interface ChildSetter
pQName
- The child elements fully qualified namepNamespaceURI
- The child elements namespace URIpLocalName
- The child elements local name
invokeMethod
protected Object invokeMethod(Object pBean,
Method pMethod,
String pName,
Object[] pArgs)
throws SAXException
This method invokes the beans pBean
method pMethod
with
the argument array pArgs, returning a child handler for the element pQName
.
newXsSAXParser
protected ContentHandler newXsSAXParser(XsSAXParser pParent,
Object pBean)
Creates a new instance of
XsSAXParser
, inheriting most properties from
its parent parser.