|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectorg.jibx.extras.DocumentModelMapperBase
public class DocumentModelMapperBase
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.
| Field Summary | |
|---|---|
protected UnmarshallingContext |
m_unmarshalContext
Context being used for unmarshalling. |
protected IXMLWriter |
m_xmlWriter
Writer for direct output as XML. |
static java.lang.String |
XML_NAMESPACE
Fixed XML namespace. |
static java.lang.String |
XMLNS_NAMESPACE
Fixed XML namespace namespace. |
| Constructor Summary | |
|---|---|
DocumentModelMapperBase()
|
|
| Method Summary | |
|---|---|
protected java.lang.String |
accumulateText()
Accumulate text content. |
protected java.lang.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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String XML_NAMESPACE
public static final java.lang.String XMLNS_NAMESPACE
protected IXMLWriter m_xmlWriter
protected UnmarshallingContext m_unmarshalContext
| Constructor Detail |
|---|
public DocumentModelMapperBase()
| Method Detail |
|---|
protected java.lang.String getNamespaceUri(int index)
index - namespace index to look up
protected int getNextNamespaceIndex()
protected java.lang.String accumulateText()
throws JiBXException
JiBXException - on error in unmarshallingprotected boolean isWhitespace(char chr)
chr - character to be checked
true if whitespace, false if not
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||