|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jaxme.xs.parser.impl.ChildSetterImpl
Default implementation of a ChildSetter
.
Constructor Summary | |
ChildSetterImpl()
|
Method Summary | |
protected org.xml.sax.ContentHandler |
getChildHandler(org.xml.sax.ContentHandler pParent,
java.lang.String pQName,
java.lang.String pLocalName)
|
org.xml.sax.ContentHandler |
getChildHandler(java.lang.String pQName,
java.lang.String pNamespaceURI,
java.lang.String pLocalName)
Returns a ContentHandler, which is able to handle the given child element. |
protected java.lang.Object |
invokeMethod(java.lang.Object pBean,
java.lang.reflect.Method pMethod,
java.lang.String pName,
java.lang.Object[] pArgs)
This method invokes the beans pBean method pMethod with
the argument array pArgs, returning a child handler for the element pQName . |
protected org.xml.sax.ContentHandler |
newXsSAXParser(XsSAXParser pParent,
java.lang.Object pBean)
Creates a new instance of XsSAXParser , inheriting most properties from
its parent parser. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ChildSetterImpl()
Method Detail |
protected java.lang.Object invokeMethod(java.lang.Object pBean, java.lang.reflect.Method pMethod, java.lang.String pName, java.lang.Object[] pArgs) throws org.xml.sax.SAXException
This method invokes the beans pBean
method pMethod
with
the argument array pArgs, returning a child handler for the element pQName
.
org.xml.sax.SAXException
public org.xml.sax.ContentHandler getChildHandler(java.lang.String pQName, java.lang.String pNamespaceURI, java.lang.String pLocalName) throws org.xml.sax.SAXException
ChildSetter
Returns a ContentHandler, which is able to handle the given child element.
getChildHandler
in interface ChildSetter
pNamespaceURI
- The child elements namespace URIpLocalName
- The child elements local namepQName
- The child elements fully qualified name
org.xml.sax.SAXException
XSParser.getContext()
protected org.xml.sax.ContentHandler newXsSAXParser(XsSAXParser pParent, java.lang.Object pBean)
Creates a new instance of XsSAXParser
, inheriting most properties from
its parent parser.
protected org.xml.sax.ContentHandler getChildHandler(org.xml.sax.ContentHandler pParent, java.lang.String pQName, java.lang.String pLocalName) throws org.xml.sax.SAXException
org.xml.sax.SAXException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |