public class ValidatingInfoXMLStreamReader extends ValidatingXMLStreamReader implements XMLStreamReader
ValidatingXMLStreamReader
to provide Post Schema Validation Info
over an XMLStreamReader._validator
ATTRIBUTE, 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() |
protected void |
validate_attributes(int attCount) |
getProperty, init, isValid, next, validate_attribute
close, 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, standaloneSet
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, 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, standaloneSet
public int nextWithAttributes() throws XMLStreamException
XMLStreamException
protected void validate_attributes(int attCount)
validate_attributes
in class ValidatingXMLStreamReader
public 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()