Top Description Inners Fields Constructors Methods
org.eclipse.persistence.internal.oxm.record

public abstract Class XMLReaderAdapter

extends XMLReader
Class Inheritance
Known Direct Subclasses
org.eclipse.persistence.internal.oxm.record.XMLStreamReaderReader, org.eclipse.persistence.internal.oxm.record.json.JsonParserReader, org.eclipse.persistence.internal.oxm.record.json.JsonStructureReader, org.eclipse.persistence.internal.oxm.record.DOMReader, org.eclipse.persistence.internal.oxm.record.XMLEventReaderReader
Imports
javax.xml.validation.Schema, org.eclipse.persistence.internal.oxm.Constants, .Unmarshaller, org.xml.sax.Attributes, .ContentHandler, .DTDHandler, .EntityResolver, .ErrorHandler, .Locator, .SAXException, .SAXNotRecognizedException, .SAXNotSupportedException, org.xml.sax.ext.LexicalHandler

A common super class for all non SAX based XMLReaders.

Nested and Inner Type Summary

Modifier and TypeClass and Description
protected static class
public static class
XMLReaderAdapter.ExtendedContentHandlerAdapter

Convert a ContentHandler to an ExtendedContentHandler

protected abstract static class

Field Summary

Modifier and TypeField and Description
protected ExtendedContentHandler
private DTDHandler
private EntityResolver
private ErrorHandler
protected LexicalHandler
Inherited from org.eclipse.persistence.internal.oxm.record.XMLReader:
locatorNAMESPACE_PREFIXES_FEATUREREPORT_IGNORED_ELEMENT_CONTENT_WHITESPACE_FEATUREvalidatingContentHandler

Constructor Summary

AccessConstructor and Description
protected
protected
XMLReaderAdapter(Unmarshaller<ABSTRACT_SESSION extends CoreAbstractSession<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, PLATFORM extends CorePlatform<CONVERSION_MANAGER extends CoreConversionManager>, PROJECT extends CoreProject<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, SESSION extends CoreSession>, SESSION_EVENT_MANAGER extends CoreSessionEventManager<SESSION_EVENT_LISTENER extends CoreSessionEventListener>>, CONTEXT extends Context<ABSTRACT_SESSION extends CoreAbstractSession<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, PLATFORM extends CorePlatform<CONVERSION_MANAGER extends CoreConversionManager>, PROJECT extends CoreProject<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, SESSION extends CoreSession>, SESSION_EVENT_MANAGER extends CoreSessionEventManager<SESSION_EVENT_LISTENER extends CoreSessionEventListener>>, DESCRIPTOR extends Descriptor<?, ?, ?, ?, ?, NAMESPACE_RESOLVER, ?, ?, ?, ?>, FIELD extends Field, NAMESPACE_RESOLVER extends NamespaceResolver, PROJECT extends CoreProject<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, SESSION extends CoreSession>, SESSION extends CoreSession<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, PLATFORM extends CorePlatform, PROJECT extends CoreProject<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, SESSION extends CoreSession>, SESSION_EVENT_MANAGER extends CoreSessionEventManager>, SESSION_EVENT_LISTENER extends CoreSessionEventListener>, DESCRIPTOR extends Descriptor, ID_RESOLVER extends IDResolver, MEDIA_TYPE extends MediaType, ROOT extends Root, UNMARSHALLER_HANDLER extends UnmarshallerHandler, UNMARSHALLER_LISTENER extends Unmarshaller.Listener> xmlUnmarshaller)

Method Summary

Modifier and TypeMethod and Description
public ExtendedContentHandler
public DTDHandler
public EntityResolver
public ErrorHandler
public boolean
getFeature(String
The feature name, which is a fully-qualified URI.
name
)

Overrides org.eclipse.persistence.internal.oxm.record.XMLReader.getFeature.

Implements org.xml.sax.XMLReader.getFeature.

Look up the value of a feature flag.
public LexicalHandler
public Object
getProperty(String
The property name, which is a fully-qualified URI.
name
)

Overrides org.eclipse.persistence.internal.oxm.record.XMLReader.getProperty.

Implements org.xml.sax.XMLReader.getProperty.

Look up the value of a property.
public void
parse(String
The system identifier (URI).
systemId
)

Overrides org.eclipse.persistence.internal.oxm.record.XMLReader.parse.

Implements org.xml.sax.XMLReader.parse.

Parse an XML document from a system identifier (URI).
public void
setContentHandler(ContentHandler
The content handler.
contentHandler
)

Overrides org.eclipse.persistence.internal.oxm.record.XMLReader.setContentHandler.

Implements org.xml.sax.XMLReader.setContentHandler.

Allow an application to register a content event handler.
public void
setDTDHandler(DTDHandler
The DTD handler.
dtdHandler
)

Overrides org.eclipse.persistence.internal.oxm.record.XMLReader.setDTDHandler.

Implements org.xml.sax.XMLReader.setDTDHandler.

Allow an application to register a DTD event handler.
public void
setEntityResolver(EntityResolver
The entity resolver.
entityResolver
)

Overrides org.eclipse.persistence.internal.oxm.record.XMLReader.setEntityResolver.

Implements org.xml.sax.XMLReader.setEntityResolver.

Allow an application to register an entity resolver.
public void
setErrorHandler(ErrorHandler
The error handler.
errorHandler
)

Overrides org.eclipse.persistence.internal.oxm.record.XMLReader.setErrorHandler.

Implements org.xml.sax.XMLReader.setErrorHandler.

Allow an application to register an error event handler.
public void
setFeature(String
The feature name, which is a fully-qualified URI.
name
,
boolean
The requested value of the feature (true or false).
value
)

Overrides org.eclipse.persistence.internal.oxm.record.XMLReader.setFeature.

Implements org.xml.sax.XMLReader.setFeature.

Set the value of a feature flag.
public void
public void
setProperty(String
The property name, which is a fully-qualified URI.
name
,
Object
The requested value for the property.
value
)

Overrides org.eclipse.persistence.internal.oxm.record.XMLReader.setProperty.

Implements org.xml.sax.XMLReader.setProperty.

Set the value of a property.
Inherited from org.eclipse.persistence.internal.oxm.record.XMLReader:
convertValueBasedOnSchemaTypegetCurrentObjectgetLocatorgetMediaTypegetNamespaceSeparatorgetValidatorHandlergetValueisInCollectionisNamespaceAwareisNullRecordisNullRepresentedByXsiNilnewObjectEventparsesetLocatorsetNamespaceAwaresetNamespaceSeparatorsetValidatorHandler