public class UnmarshallingEventHandlerAdaptor extends Object implements UnmarshallingEventHandler
Note that the SAXException returned by the ContentHandler is unreported. So we have to catch them and report it, then rethrow it if necessary.
Modifier and Type | Field and Description |
---|---|
protected UnmarshallingContext |
context |
protected ContentHandler |
handler
This handler will receive SAX events.
|
Constructor and Description |
---|
UnmarshallingEventHandlerAdaptor(UnmarshallingContext _ctxt,
ContentHandler _handler) |
Modifier and Type | Method and Description |
---|---|
void |
enterAttribute(String uri,
String local,
String qname) |
void |
enterElement(String uri,
String local,
String qname,
Attributes atts) |
void |
leaveAttribute(String uri,
String local,
String qname) |
void |
leaveChild(int nextState) |
void |
leaveElement(String uri,
String local,
String qname) |
Object |
owner()
Returns the content-tree object for which this unmarshaller
is working for.
|
void |
text(String s) |
protected final UnmarshallingContext context
protected final ContentHandler handler
public UnmarshallingEventHandlerAdaptor(UnmarshallingContext _ctxt, ContentHandler _handler) throws SAXException
SAXException
public Object owner()
UnmarshallingEventHandler
owner
in interface UnmarshallingEventHandler
public void enterAttribute(String uri, String local, String qname) throws SAXException
enterAttribute
in interface UnmarshallingEventHandler
SAXException
public void enterElement(String uri, String local, String qname, Attributes atts) throws SAXException
enterElement
in interface UnmarshallingEventHandler
SAXException
public void leaveAttribute(String uri, String local, String qname) throws SAXException
leaveAttribute
in interface UnmarshallingEventHandler
SAXException
public void leaveElement(String uri, String local, String qname) throws SAXException
leaveElement
in interface UnmarshallingEventHandler
SAXException
public void text(String s) throws SAXException
text
in interface UnmarshallingEventHandler
SAXException
public void leaveChild(int nextState) throws SAXException
leaveChild
in interface UnmarshallingEventHandler
SAXException
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.