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.Location
getLocation()
Deprecated.XmlCursor
getLocationAsCursor()
Deprecated.javax.xml.namespace.QName
getName()
Deprecated.java.lang.String
getNamespaceForPrefix(java.lang.String prefix)
Deprecated.Caled when the user has a prefix and needs to look up the corresponding namespace URI.java.lang.String
getText()
Deprecated.java.lang.String
getText(int wsr)
Deprecated.java.lang.String
getXsiLoc()
Deprecated.java.lang.String
getXsiNil()
Deprecated.java.lang.String
getXsiNoLoc()
Deprecated.java.lang.String
getXsiType()
Deprecated.boolean
textIsWhitespace()
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:PrefixResolver
Caled 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:
getNamespaceForPrefix
in interfacePrefixResolver
-
getLocationAsCursor
public XmlCursor getLocationAsCursor()
Deprecated.- Specified by:
getLocationAsCursor
in interfaceValidatorListener.Event
-
getLocation
public javax.xml.stream.Location getLocation()
Deprecated.- Specified by:
getLocation
in interfaceValidatorListener.Event
-
getXsiType
public java.lang.String getXsiType()
Deprecated.- Specified by:
getXsiType
in interfaceValidatorListener.Event
-
getXsiNil
public java.lang.String getXsiNil()
Deprecated.- Specified by:
getXsiNil
in interfaceValidatorListener.Event
-
getXsiLoc
public java.lang.String getXsiLoc()
Deprecated.- Specified by:
getXsiLoc
in interfaceValidatorListener.Event
-
getXsiNoLoc
public java.lang.String getXsiNoLoc()
Deprecated.- Specified by:
getXsiNoLoc
in interfaceValidatorListener.Event
-
getName
public javax.xml.namespace.QName getName()
Deprecated.- Specified by:
getName
in interfaceValidatorListener.Event
-
getText
public java.lang.String getText()
Deprecated.- Specified by:
getText
in interfaceValidatorListener.Event
-
getText
public java.lang.String getText(int wsr)
Deprecated.- Specified by:
getText
in interfaceValidatorListener.Event
-
textIsWhitespace
public boolean textIsWhitespace()
Deprecated.- Specified by:
textIsWhitespace
in interfaceValidatorListener.Event
-
-