|
XSOM 20110809-redhat-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.xsom.impl.ComponentImpl
com.sun.xml.xsom.impl.AttributeDeclImpl
public class AttributeDeclImpl
Field Summary |
---|
Fields inherited from class com.sun.xml.xsom.impl.ComponentImpl |
---|
ownerDocument |
Constructor Summary | |
---|---|
AttributeDeclImpl(SchemaDocumentImpl owner,
String _targetNamespace,
String _name,
AnnotationImpl _annon,
Locator _loc,
ForeignAttributesImpl _fa,
boolean _anonymous,
XmlString _defValue,
XmlString _fixedValue,
Ref.SimpleType _type)
|
Method Summary | |
---|---|
Object |
apply(XSFunction function)
Accepts a functor. |
XSAttributeDecl |
getAttribute()
|
XmlString |
getDefaultValue()
|
XmlString |
getFixedValue()
|
String |
getName()
Gets the (local) name of the declaration. |
String |
getTargetNamespace()
Target namespace to which this component belongs. |
XSSimpleType |
getType()
|
boolean |
isAnonymous()
Deprecated. |
boolean |
isGlobal()
Returns true if this declaration is a global declaration. |
boolean |
isLocal()
Returns true if this declaration is a local declaration. |
void |
visit(XSVisitor visitor)
Accepts a visitor. |
Methods inherited from class com.sun.xml.xsom.impl.ComponentImpl |
---|
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.sun.xml.xsom.XSDeclaration |
---|
getName, getTargetNamespace, isAnonymous, isGlobal, isLocal |
Methods inherited from interface com.sun.xml.xsom.XSComponent |
---|
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle |
Constructor Detail |
---|
public AttributeDeclImpl(SchemaDocumentImpl owner, String _targetNamespace, String _name, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl _fa, boolean _anonymous, XmlString _defValue, XmlString _fixedValue, Ref.SimpleType _type)
Method Detail |
---|
public XSSimpleType getType()
getType
in interface XSAttributeDecl
public XmlString getDefaultValue()
getDefaultValue
in interface XSAttributeDecl
public XmlString getFixedValue()
getFixedValue
in interface XSAttributeDecl
public void visit(XSVisitor visitor)
XSComponent
visit
in interface XSComponent
public Object apply(XSFunction function)
XSComponent
apply
in interface XSComponent
public XSAttributeDecl getAttribute()
getAttribute
in interface Ref.Attribute
public String getName()
XSDeclaration
getName
in interface XSDeclaration
public String getTargetNamespace()
XSDeclaration
""
is used to represent the default no namespace.
getTargetNamespace
in interface XSDeclaration
public boolean isAnonymous()
isAnonymous
in interface XSDeclaration
public final boolean isGlobal()
XSDeclaration
isGlobal
in interface XSDeclaration
public final boolean isLocal()
XSDeclaration
!isGlobal()
isLocal
in interface XSDeclaration
|
XSOM 20110809-redhat-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |