public abstract class BaseXMLObjectUnmarshaller extends AbstractXMLObjectUnmarshaller
Unmarshaller classes.
This base class provides no-op implementations of the methods processAttribute(XMLObject, Attr),
processChildElement(XMLObject, XMLObject), and processElementContent(XMLObject, String).
Developers extending this class may need to override one or both of these.| コンストラクタと説明 |
|---|
BaseXMLObjectUnmarshaller() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected void |
processAttribute(XMLObject xmlObject,
Attr attribute)
Called after an attribute has been unmarshalled so that it can be added to the XMLObject.
|
protected void |
processChildElement(XMLObject parentXMLObject,
XMLObject childXMLObject)
Called after a child element has been unmarshalled so that it can be added to the parent XMLObject.
|
protected void |
processElementContent(XMLObject xmlObject,
String elementContent)
Called if the element being unmarshalled contained textual content so that it can be added to the XMLObject.
|
protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException
processAttribute クラス内 AbstractXMLObjectUnmarshallerxmlObject - the XMLObjectattribute - the attributeUnmarshallingException - thrown if there is a problem adding the attribute to the XMLObjectprotected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject) throws UnmarshallingException
processChildElement クラス内 AbstractXMLObjectUnmarshallerparentXMLObject - the parent XMLObjectchildXMLObject - the child XMLObjectUnmarshallingException - thrown if there is a problem adding the child to the parentprotected void processElementContent(XMLObject xmlObject, String elementContent)
processElementContent クラス内 AbstractXMLObjectUnmarshallerxmlObject - XMLObject the content will be given toelementContent - the Element's contentCopyright © 2012. All Rights Reserved.