|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.jaxme.generator.sg.impl.AttributeSGImpl
| Constructor Summary | |
AttributeSGImpl(AttributeSGChain o)
|
|
| Method Summary | |
void |
forAllNonNullValues(net.sf.jaxme.js.JavaMethod p0,
net.sf.jaxme.js.DirectAccessible p1,
SGlet p2)
Invokes the given SGlet on any non null attribute
value. |
void |
forAllValues(net.sf.jaxme.js.JavaMethod p0,
net.sf.jaxme.js.DirectAccessible p1,
SGlet p2)
Invokes the given SGlet on any attribute value,
assuming they are non-null. |
SGFactory |
getFactory()
Returns the factory that created this item. |
AttributeSGChain |
getHeadOfChain()
|
Locator |
getLocator()
Returns the items location in the schema; useful for error messages. |
net.sf.jaxme.xs.xml.XsQName |
getName()
Returns the attribute name. |
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. |
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 net.sf.jaxme.xs.xml.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(net.sf.jaxme.js.JavaMethod p0,
net.sf.jaxme.js.DirectAccessible p1,
SGlet p2)
throws SAXException
AttributeSGInvokes the given SGlet on any attribute value,
assuming they are non-null.
forAllValues in interface AttributeSGSAXException
public void forAllNonNullValues(net.sf.jaxme.js.JavaMethod p0,
net.sf.jaxme.js.DirectAccessible p1,
SGlet p2)
throws SAXException
AttributeSGInvokes the given SGlet on any non null attribute
value.
forAllNonNullValues in interface AttributeSGSAXExceptionpublic 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 AttributeSG
public void init()
throws SAXException
SGItemInitializes the item.
init in interface SGItemSAXExceptionpublic Locator getLocator()
SGItemReturns the items location in the schema; useful for error messages.
getLocator in interface SGItempublic SchemaSG getSchema()
SGItemReturns the items schema.
getSchema in interface SGItempublic SGFactory getFactory()
SGItemReturns the factory that created this item.
getFactory in interface SGItempublic AttributeSGChain getHeadOfChain()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||