Methods Summary |
---|
public java.lang.Object | getActualVC()
return getConstraintType() == XSConstants.VC_NONE ?
null :
fDefault.actualValue;
|
public short | getActualVCType()
return getConstraintType() == XSConstants.VC_NONE ?
XSConstants.UNAVAILABLE_DT :
fDefault.actualValueType;
|
public org.apache.xerces.xs.XSObjectList | getAnnotations()Optional. Annotations.
return (fAnnotations != null) ? fAnnotations : XSObjectListImpl.EMPTY_LIST;
|
public org.apache.xerces.xs.XSAttributeDeclaration | getAttrDeclaration(){attribute declaration} provides the attribute declaration itself,
which will in turn determine the simple type definition used.
return fAttrDecl;
|
public short | getConstraintType()Value Constraint: one of default, fixed.
return fConstraintType;
|
public java.lang.String | getConstraintValue()Value Constraint: The actual value (with respect to the {type
definition}).
// REVISIT: SCAPI: what's the proper representation
return getConstraintType() == XSConstants.VC_NONE ?
null :
fDefault.stringValue();
|
public org.apache.xerces.xs.ShortList | getItemValueTypes()
return getConstraintType() == XSConstants.VC_NONE ?
null :
fDefault.itemValueTypes;
|
public java.lang.String | getName()The name of this XSObject depending on the
XSObject type.
return null;
|
public java.lang.String | getNamespace()The namespace URI of this node, or null if it is
unspecified. defines how a namespace URI is attached to schema
components.
return null;
|
public org.apache.xerces.xs.XSNamespaceItem | getNamespaceItem()
return null;
|
public boolean | getRequired(){required} determines whether this use of an attribute declaration
requires an appropriate attribute information item to be present, or
merely allows it.
return fUse == SchemaSymbols.USE_REQUIRED;
|
public short | getType()Get the type of the object, i.e ELEMENT_DECLARATION.
return XSConstants.ATTRIBUTE_USE;
|
public void | reset()
fDefault = null;
fAttrDecl = null;
fUse = SchemaSymbols.USE_OPTIONAL;
fConstraintType = XSConstants.VC_NONE;
fAnnotations = null;
|