org.apache.xerces.impl.xs
Class XSAttributeDecl
java.lang.Object
org.apache.xerces.impl.xs.XSAttributeDecl
- org.apache.xerces.xs.XSAttributeDeclaration
public class XSAttributeDecl
extends java.lang.Object
implements org.apache.xerces.xs.XSAttributeDeclaration
The XML representation for an attribute declaration
schema component is an
element information item
$Id: XSAttributeDecl.java 388853 2006-03-25 23:05:56Z mrglavas $- Elena Litani, IBM
- Sandy Gao, IBM
Object | getActualVC()
|
short | getActualVCType()
|
org.apache.xerces.xs.XSAnnotation | getAnnotation() - Optional.
|
org.apache.xerces.xs.XSObjectList | getAnnotations() - 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?
|
org.apache.xerces.xs.XSComplexTypeDefinition | getEnclosingCTDefinition() - Locally scoped declarations are available for use only within the
complex type definition identified by the
scope
property.
|
org.apache.xerces.xs.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.
|
org.apache.xerces.xs.XSNamespaceItem | getNamespaceItem()
|
short | getScope() - Optional.
|
short | getType() - Get the type of the object, i.e ELEMENT_DECLARATION.
|
org.apache.xerces.xs.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, org.apache.xerces.xs.XSObjectList annotations)
|
SCOPE_ABSENT
public static final short SCOPE_ABSENT
SCOPE_GLOBAL
public static final short SCOPE_GLOBAL
SCOPE_LOCAL
public static final short SCOPE_LOCAL
getActualVC
public Object getActualVC()
- getActualVC in interface org.apache.xerces.xs.XSAttributeDeclaration
getActualVCType
public short getActualVCType()
- getActualVCType in interface org.apache.xerces.xs.XSAttributeDeclaration
getAnnotation
public org.apache.xerces.xs.XSAnnotation getAnnotation()
Optional. Annotation.
- getAnnotation in interface org.apache.xerces.xs.XSAttributeDeclaration
getAnnotations
public org.apache.xerces.xs.XSObjectList getAnnotations()
Optional. Annotations.
- getAnnotations in interface org.apache.xerces.xs.XSAttributeDeclaration
getConstraintType
public short getConstraintType()
Value constraint: one of default, fixed.
- getConstraintType in interface org.apache.xerces.xs.XSAttributeDeclaration
getConstraintValue
public String getConstraintValue()
Value constraint: The actual value (with respect to the {type
definition}) Should we return Object instead of DOMString?
- getConstraintValue in interface org.apache.xerces.xs.XSAttributeDeclaration
getEnclosingCTDefinition
public org.apache.xerces.xs.XSComplexTypeDefinition getEnclosingCTDefinition()
Locally scoped declarations are available for use only within the
complex type definition identified by the scope
property.
- getEnclosingCTDefinition in interface org.apache.xerces.xs.XSAttributeDeclaration
getItemValueTypes
public org.apache.xerces.xs.ShortList getItemValueTypes()
- getItemValueTypes in interface org.apache.xerces.xs.XSAttributeDeclaration
getName
public String getName()
The name
of this XSObject
depending on the
XSObject
type.
- getName in interface org.apache.xerces.xs.XSObject
getNamespace
public String getNamespace()
The namespace URI of this node, or null
if it is
unspecified. defines how a namespace URI is attached to schema
components.
- getNamespace in interface org.apache.xerces.xs.XSObject
getNamespaceItem
public org.apache.xerces.xs.XSNamespaceItem getNamespaceItem()
- getNamespaceItem in interface org.apache.xerces.xs.XSObject
org.apache.xerces.xs.XSObject.getNamespaceItem()
getScope
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.
- getScope in interface org.apache.xerces.xs.XSAttributeDeclaration
getType
public short getType()
Get the type of the object, i.e ELEMENT_DECLARATION.
- getType in interface org.apache.xerces.xs.XSObject
getTypeDefinition
public org.apache.xerces.xs.XSSimpleTypeDefinition getTypeDefinition()
A simple type definition
- getTypeDefinition in interface org.apache.xerces.xs.XSAttributeDeclaration
setValues
public void setValues(String name,
String targetNamespace,
XSSimpleType simpleType,
short constraintType,
short scope,
ValidatedInfo valInfo,
XSComplexTypeDecl enclosingCT,
org.apache.xerces.xs.XSObjectList annotations)
Copyright B) 1999-2006 The Apache Software Foundation. All Rights Reserved.