public class ValidatingInfoXMLStreamReader extends ValidatingXMLStreamReader implements XMLStreamReader
ValidatingXMLStreamReader to provide Post Schema Validation Info
over an XMLStreamReader.OPTION_ATTTRIBUTE_VALIDATION_COMPAT_MODEATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT| Constructor and Description |
|---|
ValidatingInfoXMLStreamReader() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBooleanValue() |
byte[] |
getByteArrayValue() |
SchemaLocalAttribute |
getCurrentAttribute() |
SchemaLocalElement |
getCurrentElement() |
SchemaType |
getCurrentElementSchemaType() |
SchemaAttributeModel |
getCurrentWildcardAttribute() |
SchemaParticle |
getCurrentWildcardElement() |
BigDecimal |
getDecimalValue() |
double |
getDoubleValue() |
float |
getFloatValue() |
GDate |
getGDateValue() |
GDuration |
getGDurationValue() |
List |
getListTypes() |
List |
getListValue() |
QName |
getQNameValue() |
String |
getStringValue() |
SchemaType |
getUnionType() |
int |
nextWithAttributes() |
getProperty, init, isValid, nextclose, getAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getCharacterEncodingScheme, getElementText, getEncoding, getEventType, getLocalName, getLocation, getName, getNamespaceContext, getNamespaceCount, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNamespaceURI, getParent, getPIData, getPITarget, getPrefix, getText, getTextCharacters, getTextCharacters, getTextLength, getTextStart, getVersion, hasName, hasNext, hasText, isAttributeSpecified, isCharacters, isEndElement, isStandalone, isStartElement, isWhiteSpace, nextTag, require, setParent, standaloneSetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getCharacterEncodingScheme, getElementText, getEncoding, getEventType, getLocalName, getLocation, getName, getNamespaceContext, getNamespaceCount, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNamespaceURI, getPIData, getPITarget, getPrefix, getProperty, getText, getTextCharacters, getTextCharacters, getTextLength, getTextStart, getVersion, hasName, hasNext, hasText, isAttributeSpecified, isCharacters, isEndElement, isStandalone, isStartElement, isWhiteSpace, next, nextTag, require, standaloneSetpublic int nextWithAttributes()
throws XMLStreamException
XMLStreamExceptionpublic SchemaType getCurrentElementSchemaType()
getCurrentAttribute().getType().
Warning: the returned SchemaType can be an XmlBeans.NO_TYPE,
see SchemaType.isNoType(). Or can be the parent type, for unrecognized elements
that are part of wildcards.public SchemaLocalElement getCurrentElement()
getCurrentWildcardElement().public SchemaParticle getCurrentWildcardElement()
SchemaParticle.WILDCARD method getCurrentElement()
might return null if wildcard's processContents is skip or lax.public SchemaLocalAttribute getCurrentAttribute()
public SchemaAttributeModel getCurrentWildcardAttribute()
public String getStringValue()
public BigDecimal getDecimalValue()
public boolean getBooleanValue()
public float getFloatValue()
public double getDoubleValue()
public QName getQNameValue()
public GDate getGDateValue()
public GDuration getGDurationValue()
public byte[] getByteArrayValue()
public List getListValue()
public List getListTypes()
public SchemaType getUnionType()
Copyright © 2010 - 2020 Adobe. All Rights Reserved