|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jibx.extras.DocumentModelMapperBase
org.jibx.extras.Dom4JMapperBase
public class Dom4JMapperBase
Base implementation for custom marshaller/unmarshallers to dom4j representation. This provides the basic code used for both single element and content list handling.
| Field Summary | |
|---|---|
protected int |
m_defaultNamespaceIndex
Current default namespace index. |
protected String |
m_defaultNamespaceURI
Current default namespace URI ( null if not determined). |
| Fields inherited from class org.jibx.extras.DocumentModelMapperBase |
|---|
m_unmarshalContext, m_xmlWriter, XML_NAMESPACE, XMLNS_NAMESPACE |
| Constructor Summary | |
|---|---|
Dom4JMapperBase()
|
|
| Method Summary | |
|---|---|
protected void |
marshalContent(List content)
Marshal content list. |
protected void |
marshalElement(org.dom4j.Element element)
Marshal element with all attributes and content. |
protected void |
unmarshalContent(List content)
Unmarshal element content. |
protected org.dom4j.Element |
unmarshalElement()
Unmarshal element with all attributes and content. |
| Methods inherited from class org.jibx.extras.DocumentModelMapperBase |
|---|
accumulateText, getNamespaceUri, getNextNamespaceIndex, isWhitespace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String m_defaultNamespaceURI
null if not determined).
protected int m_defaultNamespaceIndex
| Constructor Detail |
|---|
public Dom4JMapperBase()
| Method Detail |
|---|
protected void marshalContent(List content)
throws JiBXException,
IOException
content - list of content items to marshal
JiBXException - on error in marshalling
IOException - on error writing to output
protected void marshalElement(org.dom4j.Element element)
throws JiBXException,
IOException
element - element to be marshalled
JiBXException - on error in marshalling
IOException - on error writing to output
protected void unmarshalContent(List content)
throws JiBXException,
IOException
content - list for unmarshalled content
JiBXException - on error in unmarshalling
IOException - on error reading input
protected org.dom4j.Element unmarshalElement()
throws JiBXException,
IOException
JiBXException - on error in unmarshalling
IOException - on error reading input
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||