Class Validator

    • Method Detail

      • isValid

        public boolean isValid()
      • getCurrentElementSchemaType

        public SchemaType getCurrentElementSchemaType()
        Returns the SchemaType of the current element. This can be different than getCurrentElement().getType() if xsi:type attribute is used. Null is returned if no schema type is available. For attribute types use 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.
      • getCurrentAttribute

        public SchemaLocalAttribute getCurrentAttribute()
        Returns the curent local attribute, global attribute if the current attribute is part of an attribute wildcard, or null if none is available.
      • getCurrentWildcardAttribute

        public SchemaAttributeModel getCurrentWildcardAttribute()
        Returns the attribute model for attributes if available, else null is returned.
      • getStringValue

        public java.lang.String getStringValue()
      • getDecimalValue

        public java.math.BigDecimal getDecimalValue()
      • getBooleanValue

        public boolean getBooleanValue()
      • getFloatValue

        public float getFloatValue()
      • getDoubleValue

        public double getDoubleValue()
      • getQNameValue

        public javax.xml.namespace.QName getQNameValue()
      • getGDateValue

        public GDate getGDateValue()
      • getGDurationValue

        public GDuration getGDurationValue()
      • getByteArrayValue

        public byte[] getByteArrayValue()
      • getListValue

        public java.util.List getListValue()
      • getListTypes

        public java.util.List getListTypes()