|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ws.jaxme.generator.sg.impl.AttributeSGImpl
| Constructor Summary | |
AttributeSGImpl(AttributeSGChain o)
|
|
| Method Summary | |
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. |
SGFactory |
getFactory()
Returns the factory that created this item. |
AttributeSGChain |
getHeadOfChain()
|
org.xml.sax.Locator |
getLocator()
Returns the items location in the schema; useful for error messages. |
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. |
SchemaSG |
getSchema()
Returns the items schema. |
TypeSG |
getTypeSG()
Returns the attributes type. |
void |
init()
Initializes the item. |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AttributeSGImpl(AttributeSGChain o)
| Method Detail |
public XsQName getName()
AttributeSGReturns the attribute name.
getName in interface AttributeSGpublic boolean isRequired()
AttributeSGReturns whether the attribute is required.
isRequired in interface AttributeSG
public void forAllValues(JavaMethod pMethod,
DirectAccessible pElement,
SGlet pSGlet)
throws org.xml.sax.SAXException
AttributeSGInvokes the given SGlet on any attribute value,
assuming they are non-null.
forAllValues in interface AttributeSGorg.xml.sax.SAXException
public void forAllNonNullValues(JavaMethod pMethod,
DirectAccessible pElement,
SGlet pSGlet)
throws org.xml.sax.SAXException
AttributeSGInvokes the given SGlet on any non null attribute
value.
forAllNonNullValues in interface AttributeSGorg.xml.sax.SAXExceptionpublic java.lang.Object newPropertySGChain()
AttributeSGCreates a new instance of PropertySGChain.
newPropertySGChain in interface AttributeSGpublic PropertySG getPropertySG()
AttributeSGReturns an instance of PropertySG.
getPropertySG in interface AttributeSGpublic TypeSG getTypeSG()
AttributeSGReturns the attributes type.
getTypeSG in interface AttributeSGpublic boolean isWildcard()
AttributeSGReturns whether this is a "wildcard" attribute.
isWildcard in interface AttributeSGpublic XsNamespaceList getNamespaceList()
AttributeSGIf this is a "wildcard" attribute: Returns the namespace list.
getNamespaceList in interface AttributeSGpublic XsTWildcard.ProcessContents getProcessContents()
AttributeSGIf this is a "wildcard" attribute: Returns how to process unknown attributes.
getProcessContents in interface AttributeSGpublic SGFactory getFactory()
SGItemReturns the factory that created this item.
getFactory in interface SGItempublic SchemaSG getSchema()
SGItemReturns the items schema.
getSchema in interface SGItempublic org.xml.sax.Locator getLocator()
SGItemReturns the items location in the schema; useful for error messages.
getLocator in interface SGItem
public void init()
throws org.xml.sax.SAXException
SGItemInitializes the item.
init in interface SGItemorg.xml.sax.SAXExceptionpublic AttributeSGChain getHeadOfChain()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||