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.IndexedAttributeListNested 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, lexicalHandlerFields inherited from class org.eclipse.persistence.internal.oxm.record.XMLReader
locator, NAMESPACE_PREFIXES_FEATURE, REPORT_IGNORED_ELEMENT_CONTENT_WHITESPACE_FEATURE, validatingContentHandler -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertValueBasedOnSchemaType(Field xmlField, Object value, ConversionManager conversionManager, AbstractUnmarshalRecord record) INTERNAL:INTERNAL: The MediaType associated with this readerbooleanbooleanisNullRepresentedByXsiNil(AbstractNullPolicy nullPolicy) voidvoidparse(InputSource input) voidvoidsetJsonStructure(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, setPropertyMethods 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:
parsein interfaceXMLReader- Overrides:
parsein classXMLReader- Throws:
IOExceptionSAXExceptionJsonException
-
parse
- Specified by:
parsein interfaceXMLReader- Overrides:
parsein classXMLReaderAdapter
-
parseRoot
- Throws:
SAXException
-
isNullRepresentedByXsiNil
- Overrides:
isNullRepresentedByXsiNilin classXMLReader
-
isInCollection
public boolean isInCollection()- Overrides:
isInCollectionin classXMLReader
-
convertValueBasedOnSchemaType
public Object convertValueBasedOnSchemaType(Field xmlField, Object value, ConversionManager conversionManager, AbstractUnmarshalRecord record) Description copied from class:XMLReaderINTERNAL:- Overrides:
convertValueBasedOnSchemaTypein classXMLReader
-
getMediaType
INTERNAL: The MediaType associated with this reader- Overrides:
getMediaTypein classXMLReader- Returns:
- The MediaType associated with this reader
-