net.sf.jour.rt.view.config.impl.runtime
Class Discarder
java.lang.Object
net.sf.jour.rt.view.config.impl.runtime.Discarder
- All Implemented Interfaces:
- UnmarshallingEventHandler
- class Discarder
- extends java.lang.Object
- implements UnmarshallingEventHandler
UnmarshallingEventHandler implementation that discards the whole sub-tree.
- Author:
- Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
Method Summary |
void |
enterAttribute(java.lang.String uri,
java.lang.String local,
java.lang.String qname)
|
void |
enterElement(java.lang.String uri,
java.lang.String local,
java.lang.String qname,
org.xml.sax.Attributes atts)
|
void |
leaveAttribute(java.lang.String uri,
java.lang.String local,
java.lang.String qname)
|
void |
leaveChild(int nextState)
|
void |
leaveElement(java.lang.String uri,
java.lang.String local,
java.lang.String qname)
|
java.lang.Object |
owner()
Returns the content-tree object for which this unmarshaller
is working for. |
void |
text(java.lang.String s)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Discarder
public Discarder(UnmarshallingContext _ctxt)
enterAttribute
public void enterAttribute(java.lang.String uri,
java.lang.String local,
java.lang.String qname)
throws org.xml.sax.SAXException
- Specified by:
enterAttribute
in interface UnmarshallingEventHandler
- Throws:
org.xml.sax.SAXException
enterElement
public void enterElement(java.lang.String uri,
java.lang.String local,
java.lang.String qname,
org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
- Specified by:
enterElement
in interface UnmarshallingEventHandler
- Throws:
org.xml.sax.SAXException
leaveAttribute
public void leaveAttribute(java.lang.String uri,
java.lang.String local,
java.lang.String qname)
throws org.xml.sax.SAXException
- Specified by:
leaveAttribute
in interface UnmarshallingEventHandler
- Throws:
org.xml.sax.SAXException
leaveElement
public void leaveElement(java.lang.String uri,
java.lang.String local,
java.lang.String qname)
throws org.xml.sax.SAXException
- Specified by:
leaveElement
in interface UnmarshallingEventHandler
- Throws:
org.xml.sax.SAXException
owner
public java.lang.Object owner()
- Description copied from interface:
UnmarshallingEventHandler
- Returns the content-tree object for which this unmarshaller
is working for.
- Specified by:
owner
in interface UnmarshallingEventHandler
text
public void text(java.lang.String s)
throws org.xml.sax.SAXException
- Specified by:
text
in interface UnmarshallingEventHandler
- Throws:
org.xml.sax.SAXException
leaveChild
public void leaveChild(int nextState)
throws org.xml.sax.SAXException
- Specified by:
leaveChild
in interface UnmarshallingEventHandler
- Throws:
org.xml.sax.SAXException
Copyright © 2004 sourceforge. All Rights Reserved.