|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.ws.jaxme.generator.sg.impl.AttributeSGImpl
public class 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()
AttributeSG
Returns the attribute name.
getName
in interface AttributeSG
public boolean isRequired()
AttributeSG
Returns whether the attribute is required.
isRequired
in interface AttributeSG
public void forAllValues(JavaMethod pMethod, DirectAccessible pElement, SGlet pSGlet) throws org.xml.sax.SAXException
AttributeSG
Invokes the given SGlet
on any attribute value,
assuming they are non-null.
forAllValues
in interface AttributeSG
org.xml.sax.SAXException
public void forAllNonNullValues(JavaMethod pMethod, DirectAccessible pElement, SGlet pSGlet) throws org.xml.sax.SAXException
AttributeSG
Invokes the given SGlet
on any non null attribute
value.
forAllNonNullValues
in interface AttributeSG
org.xml.sax.SAXException
public java.lang.Object newPropertySGChain()
AttributeSG
Creates a new instance of PropertySGChain
.
newPropertySGChain
in interface AttributeSG
public PropertySG getPropertySG()
AttributeSG
Returns an instance of PropertySG
.
getPropertySG
in interface AttributeSG
public TypeSG getTypeSG()
AttributeSG
Returns the attributes type.
getTypeSG
in interface AttributeSG
public boolean isWildcard()
AttributeSG
Returns whether this is a "wildcard" attribute.
isWildcard
in interface AttributeSG
public XsNamespaceList getNamespaceList()
AttributeSG
If this is a "wildcard" attribute: Returns the namespace list.
getNamespaceList
in interface AttributeSG
public XsTWildcard.ProcessContents getProcessContents()
AttributeSG
If this is a "wildcard" attribute: Returns how to process unknown attributes.
getProcessContents
in interface AttributeSG
public SGFactory getFactory()
SGItem
Returns the factory that created this item.
getFactory
in interface SGItem
public SchemaSG getSchema()
SGItem
Returns the items schema.
getSchema
in interface SGItem
public org.xml.sax.Locator getLocator()
SGItem
Returns the items location in the schema; useful for error messages.
getLocator
in interface SGItem
public void init() throws org.xml.sax.SAXException
SGItem
Initializes the item.
init
in interface SGItem
org.xml.sax.SAXException
public AttributeSGChain getHeadOfChain()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |