public abstract class MainXmlObjectFactory<T> extends XmlObjectFactory<T> implements XmlSinkWritable
Modifier and Type | Field and Description |
---|---|
TagNodeId |
_naturalId |
_supportedClass
ARRAY_MAKER
Modifier | Constructor and Description |
---|---|
protected |
MainXmlObjectFactory(java.lang.Class<?> supportedClass,
TagNodeId naturalId) |
protected |
MainXmlObjectFactory(TagNodeId naturalId) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Class<?> |
determineSupportedClass() |
static void |
forceLoad(java.lang.Class<?> clas) |
static void |
forceLoad(java.lang.Class<?>[] classes) |
protected java.lang.RuntimeException |
makeExtractAbstractException() |
java.lang.String |
makeInheritanceBranchReport() |
void |
makeInheritanceBranchReport(IndentingLineSink lineSink) |
static java.lang.String |
makeInheritanceReport(java.lang.Class<?>[] classes) |
static void |
makeInheritanceReport(java.lang.Class<?>[] classes,
IndentingLineSink lineSink) |
void |
mostToXml(XmlSink xmlSink,
java.lang.String relativeName,
XmlNameSpace nameSpace)
Causes instance to write itself to XML except that it doesn't
start the node nor writes the closing tag.
|
T |
nextOnParentN(TagNode parentNode,
java.lang.String relativeName,
XmlNameSpace nameSpace)
Finds the next node on parent.
|
MainXmlObjectFactory<?> |
root() |
extractArrayFromNode, extractArrayFromNode, extractArrayFromNode, extractArrayFromNode, extractFromNode, extractListFromNode, extractListFromNode, extractListFromNode, extractListFromNode, fileToArray, fileToArray, fileToArray, fileToArray, fileToArray, fileToArray, fileToObject, fileToObject, naturalTagNodeId, nextArrayFromParentE, nextArrayFromParentE, nextArrayFromParentE, nextArrayFromParentE, nextArrayFromParentE, nextArrayFromParentE, nextArrayFromParentN, nextArrayFromParentN, nextArrayFromParentN, nextArrayFromParentN, nextArrayFromParentN, nextArrayFromParentN, nextChildNodeN, nextListFromParentE, nextListFromParentE, nextListFromParentE, nextListFromParentE, nextListFromParentE, nextListFromParentE, nextListFromParentN, nextListFromParentN, nextListFromParentN, nextListFromParentN, nextListFromParentN, nextListFromParentN, nextOnParentD, nextOnParentD, nextOnParentD, nextOnParentE, nextOnParentE, nextOnParentE, nextOnParentN, nextOnParentN, stringToArray, stringToArray, stringToArray, stringToArray, stringToArray, stringToArray, stringToObject, stringToObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
naturalTagNodeId
public final TagNodeId _naturalId
protected MainXmlObjectFactory(TagNodeId naturalId)
protected MainXmlObjectFactory(java.lang.Class<?> supportedClass, TagNodeId naturalId)
protected java.lang.RuntimeException makeExtractAbstractException()
protected java.lang.Class<?> determineSupportedClass()
determineSupportedClass
in class XmlObjectFactory<T>
public void makeInheritanceBranchReport(IndentingLineSink lineSink)
public MainXmlObjectFactory<?> root()
public static java.lang.String makeInheritanceReport(java.lang.Class<?>[] classes)
public static void forceLoad(java.lang.Class<?>[] classes)
public static void forceLoad(java.lang.Class<?> clas)
public static void makeInheritanceReport(java.lang.Class<?>[] classes, IndentingLineSink lineSink)
public java.lang.String makeInheritanceBranchReport()
public T nextOnParentN(TagNode parentNode, java.lang.String relativeName, XmlNameSpace nameSpace)
XmlObjectFactory
nextOnParentN
in class XmlObjectFactory<T>
parentNode
- The node we are extracting the next node fromrelativeName
- Of the next node. Null means any node will do.nameSpace
- Of the next node. Null means no name spacepublic void mostToXml(XmlSink xmlSink, java.lang.String relativeName, XmlNameSpace nameSpace)
XmlSinkWritable
mostToXml
in interface XmlSinkWritable
mostToXml
in class XmlObjectFactory<T>
xmlSink
- Where the XML is writtenrelativeName
- or simple node name. May not be needed but is available.nameSpace
- or null for simple node names. May not be needed but is available.