Module org.eclipse.persistence.core
Class JsonStructureReader
java.lang.Object
org.eclipse.persistence.internal.oxm.record.XMLReader
org.eclipse.persistence.internal.oxm.record.XMLReaderAdapter
org.eclipse.persistence.internal.oxm.record.json.JsonStructureReader
- All Implemented Interfaces:
XMLReader
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.persistence.internal.oxm.record.XMLReaderAdapter
XMLReaderAdapter.Attribute, XMLReaderAdapter.ExtendedContentHandlerAdapter, XMLReaderAdapter.IndexedAttributeList
Nested classes/interfaces inherited from class org.eclipse.persistence.internal.oxm.record.XMLReader
XMLReader.ValidatingContentHandler
-
Field Summary
Fields inherited from class org.eclipse.persistence.internal.oxm.record.XMLReaderAdapter
contentHandler, lexicalHandler
Fields inherited from class org.eclipse.persistence.internal.oxm.record.XMLReader
locator, NAMESPACE_PREFIXES_FEATURE, REPORT_IGNORED_ELEMENT_CONTENT_WHITESPACE_FEATURE, validatingContentHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvertValueBasedOnSchemaType
(Field xmlField, Object value, ConversionManager conversionManager, AbstractUnmarshalRecord record) INTERNAL:INTERNAL: The MediaType associated with this readerboolean
boolean
isNullRepresentedByXsiNil
(AbstractNullPolicy nullPolicy) void
void
parse
(InputSource input) void
void
setJsonStructure
(JsonStructure jsonStructure) Methods inherited from class org.eclipse.persistence.internal.oxm.record.XMLReaderAdapter
getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getLexicalHandler, getProperty, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setLexicalHandler, setProperty
Methods inherited from class org.eclipse.persistence.internal.oxm.record.XMLReader
getCurrentObject, getLocator, getNamespaceSeparator, getValidatorHandler, getValue, isNamespaceAware, isNullRecord, newObjectEvent, setLocator, setNamespaceAware, setNamespaceSeparator, setValidatorHandler
-
Constructor Details
-
JsonStructureReader
-
JsonStructureReader
-
-
Method Details
-
setJsonStructure
-
parse
- Specified by:
parse
in interfaceXMLReader
- Overrides:
parse
in classXMLReader
- Throws:
IOException
SAXException
JsonException
-
parse
- Specified by:
parse
in interfaceXMLReader
- Overrides:
parse
in classXMLReaderAdapter
-
parseRoot
- Throws:
SAXException
-
isNullRepresentedByXsiNil
- Overrides:
isNullRepresentedByXsiNil
in classXMLReader
-
isInCollection
public boolean isInCollection()- Overrides:
isInCollection
in classXMLReader
-
convertValueBasedOnSchemaType
public Object convertValueBasedOnSchemaType(Field xmlField, Object value, ConversionManager conversionManager, AbstractUnmarshalRecord record) Description copied from class:XMLReader
INTERNAL:- Overrides:
convertValueBasedOnSchemaType
in classXMLReader
-
getMediaType
INTERNAL: The MediaType associated with this reader- Overrides:
getMediaType
in classXMLReader
- Returns:
- The MediaType associated with this reader
-