Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.ws.jaxme.generator.sg
Interface AttributeSG  view AttributeSG download AttributeSG.java

All Superinterfaces:
SGItem

public interface AttributeSG
extends SGItem

A source generator for attributes.


Method Summary
 void forAllNonNullValues(org.apache.ws.jaxme.js.JavaMethod pMethod, org.apache.ws.jaxme.js.DirectAccessible pElement, SGlet pSGlet)
          Invokes the given SGlet on any non null attribute value.
 void forAllValues(org.apache.ws.jaxme.js.JavaMethod pMethod, org.apache.ws.jaxme.js.DirectAccessible pElement, SGlet pSGlet)
          Invokes the given SGlet on any attribute value, assuming they are non-null.
 org.apache.ws.jaxme.xs.xml.XsQName getName()
          Returns the attribute name.
 org.apache.ws.jaxme.xs.xml.XsNamespaceList getNamespaceList()
          If this is a "wildcard" attribute: Returns the namespace list.
 org.apache.ws.jaxme.xs.xml.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 org.apache.ws.jaxme.generator.sg.PropertySGChain.
 
Methods inherited from interface org.apache.ws.jaxme.generator.sg.SGItem
getFactory, getLocator, getSchema, init
 

Method Detail

getName

public org.apache.ws.jaxme.xs.xml.XsQName getName()

Returns the attribute name.


isRequired

public boolean isRequired()

Returns whether the attribute is required.


forAllValues

public void forAllValues(org.apache.ws.jaxme.js.JavaMethod pMethod,
                         org.apache.ws.jaxme.js.DirectAccessible pElement,
                         SGlet pSGlet)
                  throws org.xml.sax.SAXException

Invokes the given SGlet on any attribute value, assuming they are non-null.


forAllNonNullValues

public void forAllNonNullValues(org.apache.ws.jaxme.js.JavaMethod pMethod,
                                org.apache.ws.jaxme.js.DirectAccessible pElement,
                                SGlet pSGlet)
                         throws org.xml.sax.SAXException

Invokes the given SGlet on any non null attribute value.


newPropertySGChain

public java.lang.Object newPropertySGChain()

Creates a new instance of org.apache.ws.jaxme.generator.sg.PropertySGChain.


getPropertySG

public PropertySG getPropertySG()

Returns an instance of PropertySG.


getTypeSG

public TypeSG getTypeSG()

Returns the attributes type.


isWildcard

public boolean isWildcard()

Returns whether this is a "wildcard" attribute.


getNamespaceList

public org.apache.ws.jaxme.xs.xml.XsNamespaceList getNamespaceList()

If this is a "wildcard" attribute: Returns the namespace list.


getProcessContents

public org.apache.ws.jaxme.xs.xml.XsTWildcard.ProcessContents getProcessContents()

If this is a "wildcard" attribute: Returns how to process unknown attributes.