public class DocumentModelMapperBase extends Object
Base implementation for custom marshaller/unmarshallers to any document model representation. This class just provides a few basic operations that are used by the representation-specific subclasses.
| Modifier and Type | Field and Description |
|---|---|
protected UnmarshallingContext |
m_unmarshalContext
Context being used for unmarshalling.
|
protected IXMLWriter |
m_xmlWriter
Writer for direct output as XML.
|
static String |
XML_NAMESPACE
Fixed XML namespace.
|
static String |
XMLNS_NAMESPACE
Fixed XML namespace namespace.
|
| Constructor and Description |
|---|
DocumentModelMapperBase() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
accumulateText()
Accumulate text content.
|
protected String |
getNamespaceUri(int index)
Get namespace URI for index.
|
protected int |
getNextNamespaceIndex()
Get next namespace index.
|
protected boolean |
isWhitespace(char chr)
Check if a character is a space character.
|
public static final String XML_NAMESPACE
public static final String XMLNS_NAMESPACE
protected IXMLWriter m_xmlWriter
protected UnmarshallingContext m_unmarshalContext
protected String getNamespaceUri(int index)
index - namespace index to look upprotected int getNextNamespaceIndex()
protected String accumulateText() throws JiBXException
JiBXException - on error in unmarshallingprotected boolean isWhitespace(char chr)
chr - character to be checkedtrue if whitespace, false if notCopyright © 2005-2014 jibx.org. All Rights Reserved.