public class ValidatingMarshalRecord extends MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
Modifier and Type | Class and Description |
---|---|
static class |
ValidatingMarshalRecord.MarshalSAXParseException |
COLON_W_SCHEMA_NIL_ATTRIBUTE, textWrapperFragment, TRUE
Constructor and Description |
---|
ValidatingMarshalRecord(MarshalRecord marshalRecord,
org.eclipse.persistence.internal.oxm.XMLMarshaller xmlMarshaller) |
Modifier and Type | Method and Description |
---|---|
void |
add(org.eclipse.persistence.internal.core.helper.CoreField key,
java.lang.Object value)
INTERNAL:
Add the field-value pair to the document.
|
java.util.List<org.eclipse.persistence.internal.oxm.Namespace> |
addExtraNamespacesToNamespaceResolver(org.eclipse.persistence.internal.oxm.mappings.Descriptor descriptor,
org.eclipse.persistence.internal.core.sessions.CoreAbstractSession session,
boolean allowOverride,
boolean ignoreEqualResolvers) |
void |
addGroupingElement(org.eclipse.persistence.internal.oxm.XPathNode xPathNode)
INTERNAL:
If an XPathNode does not have an associated NodeValue then add it to the
MarshalRecord as a grouping element.
|
protected void |
addPositionalNodes(org.eclipse.persistence.internal.oxm.XPathFragment xPathFragment,
org.eclipse.persistence.internal.oxm.NamespaceResolver namespaceResolver) |
boolean |
addXsiTypeAndClassIndicatorIfRequired(org.eclipse.persistence.internal.oxm.mappings.Descriptor xmlDescriptor,
org.eclipse.persistence.internal.oxm.mappings.Descriptor referenceDescriptor,
org.eclipse.persistence.internal.oxm.mappings.Field xmlField,
boolean isRootElement) |
boolean |
addXsiTypeAndClassIndicatorIfRequired(org.eclipse.persistence.internal.oxm.mappings.Descriptor xmlDescriptor,
org.eclipse.persistence.internal.oxm.mappings.Descriptor referenceDescriptor,
org.eclipse.persistence.internal.oxm.mappings.Field xmlField,
java.lang.Object originalObject,
java.lang.Object obj,
boolean wasXMLRoot,
boolean isRootElement) |
void |
afterContainmentMarshal(java.lang.Object parent,
java.lang.Object child) |
void |
attribute(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
java.lang.String value)
Receive notification of an attribute.
|
void |
attribute(org.eclipse.persistence.internal.oxm.XPathFragment xPathFragment,
org.eclipse.persistence.internal.oxm.NamespaceResolver namespaceResolver,
java.lang.String value)
Receive notification of an attribute.
|
void |
attributeWithoutQName(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String prefix,
java.lang.String value) |
void |
beforeContainmentMarshal(java.lang.Object child) |
void |
cdata(java.lang.String value)
Receive notification of character data to be wrapped in a CDATA node.
|
void |
characters(java.lang.String value)
Receive notification of character data.
|
void |
clear() |
void |
closeStartElement()
Receive notification that all of the attribute events have occurred for
the most recent element that has been started.
|
void |
closeStartGroupingElements(org.eclipse.persistence.internal.oxm.XPathFragment groupingFragment) |
void |
element(org.eclipse.persistence.internal.oxm.XPathFragment frag)
Receive notification of an element.
|
void |
endDocument()
Recieve notification that a document is being ended.
|
void |
endElement(org.eclipse.persistence.internal.oxm.XPathFragment xPathFragment,
org.eclipse.persistence.internal.oxm.NamespaceResolver namespaceResolver)
Receive notification that an element is being ended.
|
void |
endPrefixMapping(java.lang.String prefix)
Receive notification that the scope of this namespace declaration has
ended.
|
void |
endPrefixMappings(org.eclipse.persistence.internal.oxm.NamespaceResolver namespaceResolver) |
org.w3c.dom.Document |
getDocument() |
org.w3c.dom.Node |
getDOM() |
java.lang.String |
getLocalName() |
org.eclipse.persistence.internal.oxm.Marshaller |
getMarshaller() |
org.eclipse.persistence.internal.oxm.NamespaceResolver |
getNamespaceResolver() |
java.lang.String |
getNamespaceURI() |
java.lang.Object |
getOwningObject() |
java.util.HashMap |
getPositionalNodes() |
org.eclipse.persistence.internal.core.sessions.CoreAbstractSession |
getSession() |
boolean |
isXOPPackage() |
void |
namespaceDeclarations(org.eclipse.persistence.internal.oxm.NamespaceResolver namespaceResolver)
INTERNAL:
Add the namespace declarations to the XML document.
|
void |
node(org.w3c.dom.Node node,
org.eclipse.persistence.internal.oxm.NamespaceResolver resolver,
java.lang.String uri,
java.lang.String name)
Receive notification of a node.
|
void |
openStartElement(org.eclipse.persistence.internal.oxm.XPathFragment xPathFragment,
org.eclipse.persistence.internal.oxm.NamespaceResolver namespaceResolver)
Receive notification that an element is being started.
|
org.eclipse.persistence.internal.oxm.XPathFragment |
openStartGroupingElements(org.eclipse.persistence.internal.oxm.NamespaceResolver namespaceResolver)
INTERNAL:
Trigger that the grouping elements should be written.
|
java.lang.Object |
put(org.eclipse.persistence.internal.core.helper.CoreField key,
java.lang.Object value)
INTERNAL:
Add the field-value pair to the document.
|
void |
removeExtraNamespacesFromNamespaceResolver(java.util.List<org.eclipse.persistence.internal.oxm.Namespace> extraNamespaces,
org.eclipse.persistence.internal.core.sessions.CoreAbstractSession session) |
void |
removeGroupingElement(org.eclipse.persistence.internal.oxm.XPathNode xPathNode)
INTERNAL:
|
java.lang.String |
resolveNamespacePrefix(java.lang.String prefix) |
void |
setLeafElementType(javax.xml.namespace.QName type) |
void |
setMarshaller(org.eclipse.persistence.internal.oxm.Marshaller marshaller) |
void |
setNamespaceResolver(org.eclipse.persistence.internal.oxm.NamespaceResolver nr) |
void |
setOwningObject(java.lang.Object obj) |
void |
setSession(org.eclipse.persistence.internal.core.sessions.CoreAbstractSession session) |
void |
setXOPPackage(boolean isXOPPackage) |
void |
startDocument(java.lang.String encoding,
java.lang.String version)
Receive notification that a document is being started.
|
void |
startPrefixMapping(java.lang.String prefix,
java.lang.String namespaceURI)
Receive notification that a namespace has been declared.
|
void |
startPrefixMappings(org.eclipse.persistence.internal.oxm.NamespaceResolver namespaceResolver) |
java.lang.String |
transformToXML() |
void |
writeHeader()
INTERNAL
Writes the header, if appropriate.
|
void |
writeXsiTypeAttribute(org.eclipse.persistence.internal.oxm.mappings.Descriptor descriptor,
java.lang.String typeUri,
java.lang.String typeLocal,
java.lang.String typePrefix,
boolean addToNamespaceResolver) |
void |
writeXsiTypeAttribute(org.eclipse.persistence.internal.oxm.mappings.Descriptor xmlDescriptor,
XMLSchemaReference xmlRef,
boolean addToNamespaceResolver) |
attribute, characters, defaultNamespaceDeclaration, emptyAttribute, emptyCollection, emptyComplex, emptySimple, endCollection, flush, forceValueWrapper, getCurrentAttributeGroup, getCycleDetectionStack, getGroupingElements, getNameForFragment, getPrefixBytes, getPrefixForFragment, getStringForQName, getTextWrapperFragment, getValueToWrite, isWrapperAsCollectionName, marshalWithoutRootElement, namespaceDeclaration, nilComplex, nilSimple, node, popAttributeGroup, predicateAttribute, processNamespaceResolverForXSIPrefix, pushAttributeGroup, setGroupingElement, startCollection
getConversionManager, getLeafElementType, getNamespaceSeparator, hasCustomNamespaceMapper, hasEqualNamespaceResolvers, isNamespaceAware, setCustomNamespaceMapper, setEqualNamespaceResolvers, setLeafElementType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasCustomNamespaceMapper
public ValidatingMarshalRecord(MarshalRecord marshalRecord, org.eclipse.persistence.internal.oxm.XMLMarshaller xmlMarshaller)
public void startDocument(java.lang.String encoding, java.lang.String version)
MarshalRecord
startDocument
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
encoding
- The XML document will be encoded using this encoding.version
- This specifies the version of XML.public void endDocument()
MarshalRecord
endDocument
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
public void element(org.eclipse.persistence.internal.oxm.XPathFragment frag)
MarshalRecord
element
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
frag
- The XPathFragment of the elementpublic void attribute(org.eclipse.persistence.internal.oxm.XPathFragment xPathFragment, org.eclipse.persistence.internal.oxm.NamespaceResolver namespaceResolver, java.lang.String value)
MarshalRecord
attribute
in interface org.eclipse.persistence.internal.oxm.record.MarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
attribute
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
xPathFragment
- The XPathFragment contains the name and prefix
information about the XML element being ended.namespaceResolver
- The NamespaceResolver can be used to resolve the
namespace URI for the namespace prefix held by the XPathFragment (if
required).value
- This is the complete value for the attribute.public void attribute(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName, java.lang.String value)
MarshalRecord
attribute
in interface org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
attribute
in interface org.eclipse.persistence.internal.oxm.record.MarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
attribute
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
namespaceURI
- The namespace URI, if the attribute is not namespace
qualified the value of this parameter wil be null.localName
- The local name of the attribute.qName
- The qualified name of the attribute.value
- This is the complete value for the attribute.public void closeStartElement()
MarshalRecord
closeStartElement
in interface org.eclipse.persistence.internal.oxm.record.MarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
closeStartElement
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
public void endElement(org.eclipse.persistence.internal.oxm.XPathFragment xPathFragment, org.eclipse.persistence.internal.oxm.NamespaceResolver namespaceResolver)
MarshalRecord
endElement
in interface org.eclipse.persistence.internal.oxm.record.MarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
endElement
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
xPathFragment
- The XPathFragment contains the name and prefix
information about the XML element being ended.namespaceResolver
- The NamespaceResolver can be used to resolve the
namespace URI for the namespace prefix held by the XPathFragment (if
required).public java.util.HashMap getPositionalNodes()
getPositionalNodes
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
public void addGroupingElement(org.eclipse.persistence.internal.oxm.XPathNode xPathNode)
MarshalRecord
addGroupingElement
in interface org.eclipse.persistence.internal.oxm.record.MarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
addGroupingElement
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
public void removeGroupingElement(org.eclipse.persistence.internal.oxm.XPathNode xPathNode)
MarshalRecord
removeGroupingElement
in interface org.eclipse.persistence.internal.oxm.record.MarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
removeGroupingElement
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
public void add(org.eclipse.persistence.internal.core.helper.CoreField key, java.lang.Object value)
MarshalRecord
add
in interface org.eclipse.persistence.internal.oxm.record.MarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
add
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
public java.lang.Object put(org.eclipse.persistence.internal.core.helper.CoreField key, java.lang.Object value)
MarshalRecord
put
in interface org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
put
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
public void namespaceDeclarations(org.eclipse.persistence.internal.oxm.NamespaceResolver namespaceResolver)
MarshalRecord
namespaceDeclarations
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
namespaceResolver
- The NamespaceResolver contains the namespace
prefix and URI pairings that need to be declared.public void startPrefixMapping(java.lang.String prefix, java.lang.String namespaceURI)
MarshalRecord
startPrefixMapping
in interface org.eclipse.persistence.internal.oxm.record.MarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
startPrefixMapping
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
prefix
- The namespace prefix.namespaceURI
- The namespace URI.public void startPrefixMappings(org.eclipse.persistence.internal.oxm.NamespaceResolver namespaceResolver)
startPrefixMappings
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
public void endPrefixMapping(java.lang.String prefix)
MarshalRecord
endPrefixMapping
in interface org.eclipse.persistence.internal.oxm.record.MarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
endPrefixMapping
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
prefix
- The namespace prefix.public void endPrefixMappings(org.eclipse.persistence.internal.oxm.NamespaceResolver namespaceResolver)
endPrefixMappings
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
public void openStartElement(org.eclipse.persistence.internal.oxm.XPathFragment xPathFragment, org.eclipse.persistence.internal.oxm.NamespaceResolver namespaceResolver)
MarshalRecord
openStartElement
in interface org.eclipse.persistence.internal.oxm.record.MarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
openStartElement
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
xPathFragment
- The XPathFragment contains the name and prefix
information about the XML element being ended.namespaceResolver
- The NamespaceResolver can be used to resolve the
namespace URI for the namespace prefix held by the XPathFragment (if
required).public org.eclipse.persistence.internal.oxm.XPathFragment openStartGroupingElements(org.eclipse.persistence.internal.oxm.NamespaceResolver namespaceResolver)
MarshalRecord
openStartGroupingElements
in interface org.eclipse.persistence.internal.oxm.record.MarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
openStartGroupingElements
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
namespaceResolver
- The NamespaceResolver can be used to resolve the
namespace URI for the namespace prefix held by the XPathFragment (if
required).public void closeStartGroupingElements(org.eclipse.persistence.internal.oxm.XPathFragment groupingFragment)
closeStartGroupingElements
in interface org.eclipse.persistence.internal.oxm.record.MarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
closeStartGroupingElements
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
protected void addPositionalNodes(org.eclipse.persistence.internal.oxm.XPathFragment xPathFragment, org.eclipse.persistence.internal.oxm.NamespaceResolver namespaceResolver)
addPositionalNodes
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
public void characters(java.lang.String value)
MarshalRecord
characters
in interface org.eclipse.persistence.internal.oxm.record.MarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
characters
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
value
- This is the entire value of the text node.public void cdata(java.lang.String value)
MarshalRecord
cdata
in interface org.eclipse.persistence.internal.oxm.record.MarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
cdata
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
value
- This is the value of the text to be wrappedpublic void node(org.w3c.dom.Node node, org.eclipse.persistence.internal.oxm.NamespaceResolver resolver, java.lang.String uri, java.lang.String name)
MarshalRecord
node
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
node
- The Node to be added to the documentresolver
- The NamespaceResolver can be used to resolve theuri
- replacement root name for the nodename
- replacement root namespace for the node
namespace URI/prefix of the nodepublic java.lang.String getLocalName()
getLocalName
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
public java.lang.String getNamespaceURI()
getNamespaceURI
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
public void clear()
clear
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
public org.w3c.dom.Document getDocument()
getDocument
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
public org.w3c.dom.Node getDOM()
getDOM
in interface org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
getDOM
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
public java.lang.String transformToXML()
transformToXML
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
public java.lang.String resolveNamespacePrefix(java.lang.String prefix)
resolveNamespacePrefix
in interface org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
resolveNamespacePrefix
in class org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecordImpl<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
public org.eclipse.persistence.internal.oxm.Marshaller getMarshaller()
getMarshaller
in interface org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
getMarshaller
in class org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecordImpl<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
public void setMarshaller(org.eclipse.persistence.internal.oxm.Marshaller marshaller)
setMarshaller
in interface org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
setMarshaller
in interface org.eclipse.persistence.internal.oxm.record.MarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
setMarshaller
in class org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecordImpl<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
public java.lang.Object getOwningObject()
getOwningObject
in interface org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
getOwningObject
in class org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecordImpl<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
public void setOwningObject(java.lang.Object obj)
setOwningObject
in interface org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
setOwningObject
in class org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecordImpl<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
public void setLeafElementType(javax.xml.namespace.QName type)
setLeafElementType
in interface org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
setLeafElementType
in interface org.eclipse.persistence.internal.oxm.record.MarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
setLeafElementType
in class org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecordImpl<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
public void setNamespaceResolver(org.eclipse.persistence.internal.oxm.NamespaceResolver nr)
setNamespaceResolver
in interface org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
setNamespaceResolver
in class org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecordImpl<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
public org.eclipse.persistence.internal.oxm.NamespaceResolver getNamespaceResolver()
getNamespaceResolver
in interface org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
getNamespaceResolver
in class org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecordImpl<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
public org.eclipse.persistence.internal.core.sessions.CoreAbstractSession getSession()
getSession
in interface org.eclipse.persistence.internal.oxm.record.XMLRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession>
getSession
in class org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecordImpl<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
public void setSession(org.eclipse.persistence.internal.core.sessions.CoreAbstractSession session)
setSession
in interface org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
setSession
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
public boolean isXOPPackage()
isXOPPackage
in interface org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
isXOPPackage
in interface org.eclipse.persistence.internal.oxm.record.MarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
isXOPPackage
in class org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecordImpl<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
public void beforeContainmentMarshal(java.lang.Object child)
beforeContainmentMarshal
in interface org.eclipse.persistence.internal.oxm.record.MarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
beforeContainmentMarshal
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
public void afterContainmentMarshal(java.lang.Object parent, java.lang.Object child)
afterContainmentMarshal
in interface org.eclipse.persistence.internal.oxm.record.MarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
afterContainmentMarshal
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
public void writeHeader()
MarshalRecord
writeHeader
in class MarshalRecord<org.eclipse.persistence.internal.oxm.Marshaller>
public java.util.List<org.eclipse.persistence.internal.oxm.Namespace> addExtraNamespacesToNamespaceResolver(org.eclipse.persistence.internal.oxm.mappings.Descriptor descriptor, org.eclipse.persistence.internal.core.sessions.CoreAbstractSession session, boolean allowOverride, boolean ignoreEqualResolvers)
addExtraNamespacesToNamespaceResolver
in interface org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
addExtraNamespacesToNamespaceResolver
in class org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecordImpl<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
public void removeExtraNamespacesFromNamespaceResolver(java.util.List<org.eclipse.persistence.internal.oxm.Namespace> extraNamespaces, org.eclipse.persistence.internal.core.sessions.CoreAbstractSession session)
removeExtraNamespacesFromNamespaceResolver
in interface org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
removeExtraNamespacesFromNamespaceResolver
in interface org.eclipse.persistence.internal.oxm.record.MarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
removeExtraNamespacesFromNamespaceResolver
in class org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecordImpl<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
public void attributeWithoutQName(java.lang.String namespaceURI, java.lang.String localName, java.lang.String prefix, java.lang.String value)
attributeWithoutQName
in interface org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
attributeWithoutQName
in interface org.eclipse.persistence.internal.oxm.record.MarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
attributeWithoutQName
in class org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecordImpl<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
public boolean addXsiTypeAndClassIndicatorIfRequired(org.eclipse.persistence.internal.oxm.mappings.Descriptor xmlDescriptor, org.eclipse.persistence.internal.oxm.mappings.Descriptor referenceDescriptor, org.eclipse.persistence.internal.oxm.mappings.Field xmlField, boolean isRootElement)
addXsiTypeAndClassIndicatorIfRequired
in interface org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
addXsiTypeAndClassIndicatorIfRequired
in class org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecordImpl<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
public boolean addXsiTypeAndClassIndicatorIfRequired(org.eclipse.persistence.internal.oxm.mappings.Descriptor xmlDescriptor, org.eclipse.persistence.internal.oxm.mappings.Descriptor referenceDescriptor, org.eclipse.persistence.internal.oxm.mappings.Field xmlField, java.lang.Object originalObject, java.lang.Object obj, boolean wasXMLRoot, boolean isRootElement)
addXsiTypeAndClassIndicatorIfRequired
in interface org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
addXsiTypeAndClassIndicatorIfRequired
in class org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecordImpl<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
public void writeXsiTypeAttribute(org.eclipse.persistence.internal.oxm.mappings.Descriptor descriptor, java.lang.String typeUri, java.lang.String typeLocal, java.lang.String typePrefix, boolean addToNamespaceResolver)
writeXsiTypeAttribute
in interface org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
writeXsiTypeAttribute
in class org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecordImpl<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
public void writeXsiTypeAttribute(org.eclipse.persistence.internal.oxm.mappings.Descriptor xmlDescriptor, XMLSchemaReference xmlRef, boolean addToNamespaceResolver)
writeXsiTypeAttribute
in interface org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
writeXsiTypeAttribute
in class org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecordImpl<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
public void setXOPPackage(boolean isXOPPackage)
setXOPPackage
in interface org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecord<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>
setXOPPackage
in class org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecordImpl<org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,org.eclipse.persistence.internal.core.helper.CoreField,org.eclipse.persistence.internal.oxm.Marshaller,org.eclipse.persistence.internal.oxm.NamespaceResolver>