public interface AttributeSG extends SGItem
A source generator for attributes.
Modifier and Type | Method and Description |
---|---|
void |
forAllNonNullValues(JavaMethod pMethod,
DirectAccessible pElement,
SGlet pSGlet)
Invokes the given
SGlet on any non null attribute
value. |
void |
forAllValues(JavaMethod pMethod,
DirectAccessible pElement,
SGlet pSGlet)
Invokes the given
SGlet on any attribute value,
assuming they are non-null. |
XsQName |
getName()
Returns the attribute name.
|
XsNamespaceList |
getNamespaceList()
If this is a "wildcard" attribute: Returns the namespace
list.
|
XsTWildcard.ProcessContents |
getProcessContents()
If this is a "wildcard" attribute: Returns how to process
unknown attributes.
|
PropertySG |
getPropertySG()
Returns an instance of
PropertySG . |
TypeSG |
getTypeSG()
Returns the attributes type.
|
boolean |
isRequired()
Returns whether the attribute is required.
|
boolean |
isWildcard()
Returns whether this is a "wildcard" attribute.
|
java.lang.Object |
newPropertySGChain()
Creates a new instance of
PropertySGChain . |
getFactory, getLocator, getSchema, init
XsQName getName()
Returns the attribute name.
boolean isRequired()
Returns whether the attribute is required.
void forAllValues(JavaMethod pMethod, DirectAccessible pElement, SGlet pSGlet) throws org.xml.sax.SAXException
Invokes the given SGlet
on any attribute value,
assuming they are non-null.
org.xml.sax.SAXException
void forAllNonNullValues(JavaMethod pMethod, DirectAccessible pElement, SGlet pSGlet) throws org.xml.sax.SAXException
Invokes the given SGlet
on any non null attribute
value.
org.xml.sax.SAXException
java.lang.Object newPropertySGChain()
Creates a new instance of PropertySGChain
.
PropertySG getPropertySG()
Returns an instance of PropertySG
.
TypeSG getTypeSG()
Returns the attributes type.
boolean isWildcard()
Returns whether this is a "wildcard" attribute.
XsNamespaceList getNamespaceList()
If this is a "wildcard" attribute: Returns the namespace list.
XsTWildcard.ProcessContents getProcessContents()
If this is a "wildcard" attribute: Returns how to process unknown attributes.