| java.lang.Object org.apache.xerces.impl.xs.XSAttributeGroupDecl
XSAttributeGroupDecl | public class XSAttributeGroupDecl implements XSAttributeGroupDefinition(Code) | | The XML representation for an attribute group declaration
schema component is a global <attributeGroup> element information item
author: Sandy Gao, IBM author: Rahul Srivastava, Sun Microsystems Inc. version: $Id: XSAttributeGroupDecl.java 449424 2006-09-24 16:22:30Z mrglavas $ |
fAttrUseNum | int fAttrUseNum(Code) | | |
getAttributeUses | public XSObjectList getAttributeUses()(Code) | | {attribute uses} A set of attribute uses.
|
getAttributeWildcard | public XSWildcard getAttributeWildcard()(Code) | | {attribute wildcard} Optional. A wildcard.
|
getName | public String getName()(Code) | | The name of this XSObject depending on the
XSObject type.
|
getNamespace | public String getNamespace()(Code) | | The namespace URI of this node, or null if it is
unspecified. defines how a namespace URI is attached to schema
components.
|
getType | public short getType()(Code) | | Get the type of the object, i.e ELEMENT_DECLARATION.
|
removeProhibitedAttrs | public void removeProhibitedAttrs()(Code) | | |
reset | public void reset()(Code) | | |
validRestrictionOf | public Object[] validRestrictionOf(String typeName, XSAttributeGroupDecl baseGroup)(Code) | | Check that the attributes in this group validly restrict those from a base group.
If an error is found, an Object[] is returned. This contains the arguments for the error message
describing the error. The last element in the array (at index arr.length - 1) is the the error code.
Returns null if there is no error.
REVISIT: is there a better way of returning the appropriate information for the error?
Parameters: typeName - the name of the type containing this attribute group, used for error reporting purposes Parameters: baseGroup - the XSAttributeGroupDecl that is the base we are checking against |
|
|