Methods Summary |
---|
public java.lang.Object | getActualVC()
return fDefault.actualValue;
|
public short | getActualVCType()
return fDefault.actualValueType;
|
public com.sun.org.apache.xerces.internal.xs.XSAnnotation | getAnnotation()Optional. Annotation.
return fAnnotation;
|
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}) Should we return Object instead of DOMString?
// REVISIT: SCAPI: what's the proper representation
return getConstraintType() == XSConstants.VC_NONE ?
null :
fDefault.stringValue();
|
public com.sun.org.apache.xerces.internal.xs.XSComplexTypeDefinition | getEnclosingCTDefinition()Locally scoped declarations are available for use only within the
complex type definition identified by the scope
property.
return fEnclosingCT;
|
public com.sun.org.apache.xerces.internal.xs.ShortList | getItemValueTypes()
return fDefault.itemValueTypes;
|
public java.lang.String | getName()The name of this XSObject depending on the
XSObject type.
return fName;
|
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 fTargetNamespace;
|
public com.sun.org.apache.xerces.internal.xs.XSNamespaceItem | getNamespaceItem()
// REVISIT: implement
return null;
|
public short | getScope()Optional. Either global or a complex type definition (
ctDefinition ). This property is absent in the case of
declarations within attribute group definitions: their scope will be
determined when they are used in the construction of complex type
definitions.
return fScope;
|
public short | getType()Get the type of the object, i.e ELEMENT_DECLARATION.
return XSConstants.ATTRIBUTE_DECLARATION;
|
public com.sun.org.apache.xerces.internal.xs.XSSimpleTypeDefinition | getTypeDefinition()A simple type definition
return fType;
|
public com.sun.org.apache.xerces.internal.impl.dv.ValidatedInfo | getValInfo()
return fDefault;
|
public void | reset()
fName = null;
fTargetNamespace = null;
fType = null;
fConstraintType = XSConstants.VC_NONE;
fScope = XSConstants.SCOPE_ABSENT;
fDefault = null;
fAnnotation = null;
|
public void | setValues(java.lang.String name, java.lang.String targetNamespace, com.sun.org.apache.xerces.internal.impl.dv.XSSimpleType simpleType, short constraintType, short scope, com.sun.org.apache.xerces.internal.impl.dv.ValidatedInfo valInfo, com.sun.org.apache.xerces.internal.impl.xs.XSComplexTypeDecl enclosingCT, com.sun.org.apache.xerces.internal.impl.xs.XSAnnotationImpl annotation)
fName = name;
fTargetNamespace = targetNamespace;
fType = simpleType;
fConstraintType = constraintType;
fScope = scope;
fDefault = valInfo;
fEnclosingCT = enclosingCT;
fAnnotation = annotation;
|