Class ValidatingXMLInputStream
- java.lang.Object
-
- org.apache.xmlbeans.impl.common.GenericXmlInputStream
-
- org.apache.xmlbeans.impl.validator.ValidatingXMLInputStream
-
- All Implemented Interfaces:
PrefixResolver,ValidatorListener.Event,XMLInputStream
public final class ValidatingXMLInputStream extends GenericXmlInputStream implements ValidatorListener.Event
Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.
-
-
Field Summary
-
Fields inherited from interface org.apache.xmlbeans.impl.common.ValidatorListener.Event
COLLAPSE, PRESERVE, REPLACE
-
-
Constructor Summary
Constructors Constructor Description ValidatingXMLInputStream(XMLInputStream xis, SchemaTypeLoader typeLoader, SchemaType sType, XmlOptions options)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description javax.xml.stream.LocationgetLocation()Deprecated.XmlCursorgetLocationAsCursor()Deprecated.javax.xml.namespace.QNamegetName()Deprecated.java.lang.StringgetNamespaceForPrefix(java.lang.String prefix)Deprecated.Caled when the user has a prefix and needs to look up the corresponding namespace URI.java.lang.StringgetText()Deprecated.java.lang.StringgetText(int wsr)Deprecated.java.lang.StringgetXsiLoc()Deprecated.java.lang.StringgetXsiNil()Deprecated.java.lang.StringgetXsiNoLoc()Deprecated.java.lang.StringgetXsiType()Deprecated.booleantextIsWhitespace()Deprecated.-
Methods inherited from class org.apache.xmlbeans.impl.common.GenericXmlInputStream
close, getReferenceResolver, getSubStream, hasNext, next, peek, setReferenceResolver, skip, skip, skip, skip, skipElement
-
-
-
-
Constructor Detail
-
ValidatingXMLInputStream
public ValidatingXMLInputStream(XMLInputStream xis, SchemaTypeLoader typeLoader, SchemaType sType, XmlOptions options) throws XMLStreamException
Deprecated.- Throws:
XMLStreamException
-
-
Method Detail
-
getNamespaceForPrefix
public java.lang.String getNamespaceForPrefix(java.lang.String prefix)
Deprecated.Description copied from interface:PrefixResolverCaled when the user has a prefix and needs to look up the corresponding namespace URI. If the prefix is not defined in this context, then this method may return null. The no-namespace is represented by the empty string return result. If the prefix is null or "", then the default namespace is being requested. To conform with the XML spec, the default namespace will return the no-namespace ("") if it is not mapped.- Specified by:
getNamespaceForPrefixin interfacePrefixResolver
-
getLocationAsCursor
public XmlCursor getLocationAsCursor()
Deprecated.- Specified by:
getLocationAsCursorin interfaceValidatorListener.Event
-
getLocation
public javax.xml.stream.Location getLocation()
Deprecated.- Specified by:
getLocationin interfaceValidatorListener.Event
-
getXsiType
public java.lang.String getXsiType()
Deprecated.- Specified by:
getXsiTypein interfaceValidatorListener.Event
-
getXsiNil
public java.lang.String getXsiNil()
Deprecated.- Specified by:
getXsiNilin interfaceValidatorListener.Event
-
getXsiLoc
public java.lang.String getXsiLoc()
Deprecated.- Specified by:
getXsiLocin interfaceValidatorListener.Event
-
getXsiNoLoc
public java.lang.String getXsiNoLoc()
Deprecated.- Specified by:
getXsiNoLocin interfaceValidatorListener.Event
-
getName
public javax.xml.namespace.QName getName()
Deprecated.- Specified by:
getNamein interfaceValidatorListener.Event
-
getText
public java.lang.String getText()
Deprecated.- Specified by:
getTextin interfaceValidatorListener.Event
-
getText
public java.lang.String getText(int wsr)
Deprecated.- Specified by:
getTextin interfaceValidatorListener.Event
-
textIsWhitespace
public boolean textIsWhitespace()
Deprecated.- Specified by:
textIsWhitespacein interfaceValidatorListener.Event
-
-