org.jbind.xml.schema.cmp
Class AttrWildcard
java.lang.Object
org.jbind.xml.schema.cmp.Component
org.jbind.xml.schema.cmp.AttrDesc
org.jbind.xml.schema.cmp.AttrWildcard
- All Implemented Interfaces:
- IAttrDesc, IAttrWildcard, IComponent, IDataDesc, IDefaultTextContentProvider, IHasBindingAttributes, IHasLocation, IPartWildcard, ISourceInfo
- public class AttrWildcard
- extends AttrDesc
- implements IAttrWildcard
Methods inherited from class org.jbind.xml.schema.cmp.Component |
addSubComponent, getAnnotation, getBindingAttribute, getBindings, getDefaultedLocalBindingAttribute, getDefaultedLocalStringBindingAttribute, getGlobalRef, getLocalBindingAttribute, getLocalStringBindingAttribute, getLocation, getName, getNamespace, getParentComponent, getPrefixToNamespaceMapping, getStringBindingAttribute, isAnonymous, isTopLevelComponent, setBindings, setParentComponent, visitSubComponents |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jbind.xml.core.cmp.IComponent |
addSubComponent, getBindings, getGlobalRef, getName, getNamespace, getParentComponent, getSymbolspace, isAnonymous, isTopLevelComponent, setBindings, setParentComponent |
AttrWildcard
public AttrWildcard(ISourceInfo aSourceInfo,
IWildcard aWildcard)
getWildcard
public IWildcard getWildcard()
- Specified by:
getWildcard
in interface IPartWildcard
setWildcard
public void setWildcard(IWildcard aWildcard)
- Specified by:
setWildcard
in interface IAttrWildcard
accept
public void accept(IComponentVisitor aVisitor)
throws XmlException
- Description copied from interface:
IComponent
- Accepts a visitor. The implementation calls the corresponding visitXXXStart
and vistXXXEnd methods of the visitor (e.g.
visitComplexTypeStart
and visitComplexTypeEnd
).
- Specified by:
accept
in interface IComponent
- Parameters:
aVisitor
- (required).
- Throws:
XmlException
getDefault
public ISimpleData getDefault()
- Description copied from interface:
IDataDesc
- Gets the default value. If a fixed value is specified then it is also returned
as the default value.
- Specified by:
getDefault
in interface IDataDesc
- Returns:
- (optional).
getFixed
public ISimpleData getFixed()
- Description copied from interface:
IDataDesc
- Gets the fixed value. If a fixed value is specified then it is also returned
as the default value.
- Specified by:
getFixed
in interface IDataDesc
- Returns:
- (optional).
getType
public IAnyType getType()
- Description copied from interface:
IDataDesc
- Gets the data type.
- Specified by:
getType
in interface IDataDesc
- Returns:
- (required).
isReference
public boolean isReference()
- Description copied from interface:
IComponent
- Checks if this component is defined as a reference to another component.
- Specified by:
isReference
in interface IComponent
- Returns:
- Returns
true
iff this component is a reference to
another component.
validate
public void validate(IConstraintViolations aViolations)
- Description copied from interface:
IComponent
- Validates the component. This method is called as the last step of the
component construction.
- Specified by:
validate
in interface IComponent
- Parameters:
aViolations
- (required).