org.apache.xerces.impl.xs
public class XSAttributeDecl extends Object implements XSAttributeDeclaration
Version: $Id: XSAttributeDecl.java,v 1.18 2004/12/07 18:11:27 sandygao Exp $
| Field Summary | |
|---|---|
| static short | SCOPE_ABSENT |
| static short | SCOPE_GLOBAL |
| static short | SCOPE_LOCAL |
| Method Summary | |
|---|---|
| Object | getActualVC() |
| short | getActualVCType() |
| XSAnnotation | getAnnotation()
Optional. |
| short | getConstraintType()
Value constraint: one of default, fixed. |
| String | getConstraintValue()
Value constraint: The actual value (with respect to the {type
definition}) Should we return Object instead of DOMString? |
| XSComplexTypeDefinition | getEnclosingCTDefinition()
Locally scoped declarations are available for use only within the
complex type definition identified by the scope
property. |
| ShortList | getItemValueTypes() |
| String | getName()
The name of this XSObject depending on the
XSObject type. |
| String | getNamespace()
The namespace URI of this node, or null if it is
unspecified. defines how a namespace URI is attached to schema
components. |
| XSNamespaceItem | getNamespaceItem() |
| short | getScope()
Optional. |
| short | getType()
Get the type of the object, i.e ELEMENT_DECLARATION. |
| XSSimpleTypeDefinition | getTypeDefinition()
A simple type definition |
| ValidatedInfo | getValInfo() |
| void | reset() |
| void | setValues(String name, String targetNamespace, XSSimpleType simpleType, short constraintType, short scope, ValidatedInfo valInfo, XSComplexTypeDecl enclosingCT, XSAnnotationImpl annotation) |
scope
property.name of this XSObject depending on the
XSObject type.null if it is
unspecified. defines how a namespace URI is attached to schema
components.See Also: org.apache.xerces.xs.XSObject#getNamespaceItem()
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.