|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.xml.stream.util.StreamReaderDelegate org.apache.xmlbeans.impl.validator.ValidatingXMLStreamReader org.apache.xmlbeans.impl.validator.ValidatingInfoXMLStreamReader
public class ValidatingInfoXMLStreamReader
Extension of ValidatingXMLStreamReader
to provide Post Schema Validation Info
over an XMLStreamReader.
Field Summary |
---|
Fields inherited from class org.apache.xmlbeans.impl.validator.ValidatingXMLStreamReader |
---|
_validator, OPTION_ATTTRIBUTE_VALIDATION_COMPAT_MODE |
Fields inherited from interface javax.xml.stream.XMLStreamConstants |
---|
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT |
Constructor Summary | |
---|---|
ValidatingInfoXMLStreamReader()
|
Method Summary | |
---|---|
boolean |
getBooleanValue()
|
byte[] |
getByteArrayValue()
|
SchemaLocalAttribute |
getCurrentAttribute()
|
SchemaLocalElement |
getCurrentElement()
|
SchemaType |
getCurrentElementSchemaType()
|
SchemaAttributeModel |
getCurrentWildcardAttribute()
|
SchemaParticle |
getCurrentWildcardElement()
|
java.math.BigDecimal |
getDecimalValue()
|
double |
getDoubleValue()
|
float |
getFloatValue()
|
GDate |
getGDateValue()
|
GDuration |
getGDurationValue()
|
java.util.List |
getListTypes()
|
java.util.List |
getListValue()
|
javax.xml.namespace.QName |
getQNameValue()
|
java.lang.String |
getStringValue()
|
SchemaType |
getUnionType()
|
int |
nextWithAttributes()
|
protected void |
validate_attributes(int attCount)
|
Methods inherited from class org.apache.xmlbeans.impl.validator.ValidatingXMLStreamReader |
---|
getProperty, init, isValid, next, validate_attribute |
Methods inherited from class javax.xml.stream.util.StreamReaderDelegate |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.xml.stream.XMLStreamReader |
---|
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 |
Constructor Detail |
---|
public ValidatingInfoXMLStreamReader()
Method Detail |
---|
public int nextWithAttributes() throws javax.xml.stream.XMLStreamException
javax.xml.stream.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 java.lang.String getStringValue()
public java.math.BigDecimal getDecimalValue()
public boolean getBooleanValue()
public float getFloatValue()
public double getDoubleValue()
public javax.xml.namespace.QName getQNameValue()
public GDate getGDateValue()
public GDuration getGDurationValue()
public byte[] getByteArrayValue()
public java.util.List getListValue()
public java.util.List getListTypes()
public SchemaType getUnionType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |