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

Quick Search    Search Deep

org.apache.ws.jaxme.generator.sg.impl.ccsg
Class HandlerSGImpl  view HandlerSGImpl download HandlerSGImpl.java

java.lang.Object
  extended byorg.apache.ws.jaxme.generator.sg.impl.ccsg.HandlerSGImpl
All Implemented Interfaces:
HandlerSG
Direct Known Subclasses:
EmptyElementHandlerSG, GroupHandlerSG

public abstract class HandlerSGImpl
extends java.lang.Object
implements HandlerSG

Base implementation of HandlerSG, for derivation of various subclasses.


Field Summary
protected  org.apache.ws.jaxme.generator.sg.ComplexTypeSG ctSG
           
private  org.apache.ws.jaxme.js.JavaSource javaSource
           
private  org.apache.ws.jaxme.js.DirectAccessible paramAttrs
           
private  org.apache.ws.jaxme.js.DirectAccessible paramLocalName
           
private  org.apache.ws.jaxme.js.DirectAccessible paramNamespaceURI
           
private  org.apache.ws.jaxme.js.DirectAccessible paramQName
           
private  org.apache.ws.jaxme.js.DirectAccessible paramResult
           
 
Constructor Summary
protected HandlerSGImpl(org.apache.ws.jaxme.generator.sg.ComplexTypeSG pType, org.apache.ws.jaxme.js.JavaSource pJs)
           
 
Method Summary
private  java.util.Set createSetOfExplicitURIs(org.apache.ws.jaxme.generator.sg.AttributeSG[] pAttributes)
          Returns the set of namespace URI's in pAttributes.
protected  org.apache.ws.jaxme.js.TypedValue createSimpleTypeConversion(org.apache.ws.jaxme.js.JavaMethod pJm, org.apache.ws.jaxme.generator.sg.TypeSG pType, org.apache.ws.jaxme.js.TypedValue pValue, java.lang.String pName)
           
 void generate()
          Invokes the various "newFooMethod" methods.
 org.apache.ws.jaxme.js.JavaSource getJavaSource()
          Returns the class being generated.
protected  org.apache.ws.jaxme.js.DirectAccessible getParamAttrs()
           
protected  org.apache.ws.jaxme.js.DirectAccessible getParamLocalName()
           
protected  org.apache.ws.jaxme.js.DirectAccessible getParamNamespaceURI()
           
protected  org.apache.ws.jaxme.js.DirectAccessible getParamQName()
           
protected  org.apache.ws.jaxme.js.DirectAccessible getParamResult()
           
 org.apache.ws.jaxme.js.JavaMethod newAddAttributeMethod()
          Creates the handlers method JMSAXElementParser.addAttribute(String, String, String)>JMSAXElementParser.addAttribute(String, String, String) 55 .
 org.apache.ws.jaxme.js.JavaMethod newEndElementMethod()
          Creates the handlers method JMSAXGroupParser.endElement(String, String, String, Object)>JMSAXGroupParser.endElement(String, String, String, Object) 55 .
 org.apache.ws.jaxme.js.JavaMethod newIsAtomicMethod()
          Creates the handlers method JMSAXElementParser.isAtomic()>JMSAXElementParser.isAtomic() 55 .
 org.apache.ws.jaxme.js.JavaMethod newIsEmptyMethod()
          Creates the handlers method JMSAXElementParser.isEmpty()>JMSAXElementParser.isEmpty() 55 .
 org.apache.ws.jaxme.js.JavaMethod newIsFinishedMethod()
          Creates the handlers method JMSAXGroupParser.isFinished()>JMSAXGroupParser.isFinished() 55 .
 org.apache.ws.jaxme.js.JavaMethod newStartElementMethod()
          Creates the handlers method JMSAXGroupParser.startElement(String, String, String, org.xml.sax.Attributes)>JMSAXGroupParser.startElement(String, String, String, org.xml.sax.Attributes) 55 .
protected  void setParamAttrs(org.apache.ws.jaxme.js.DirectAccessible pParamAttrs)
           
protected  void setParamLocalName(org.apache.ws.jaxme.js.DirectAccessible pParamLocalName)
           
protected  void setParamNamespaceURI(org.apache.ws.jaxme.js.DirectAccessible pParamNamespaceURI)
           
protected  void setParamQName(org.apache.ws.jaxme.js.DirectAccessible pParamQName)
           
protected  void setParamResult(org.apache.ws.jaxme.js.DirectAccessible pParamResult)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ctSG

protected final org.apache.ws.jaxme.generator.sg.ComplexTypeSG ctSG

javaSource

private final org.apache.ws.jaxme.js.JavaSource javaSource

paramLocalName

private org.apache.ws.jaxme.js.DirectAccessible paramLocalName

paramNamespaceURI

private org.apache.ws.jaxme.js.DirectAccessible paramNamespaceURI

paramResult

private org.apache.ws.jaxme.js.DirectAccessible paramResult

paramQName

private org.apache.ws.jaxme.js.DirectAccessible paramQName

paramAttrs

private org.apache.ws.jaxme.js.DirectAccessible paramAttrs
Constructor Detail

HandlerSGImpl

protected HandlerSGImpl(org.apache.ws.jaxme.generator.sg.ComplexTypeSG pType,
                        org.apache.ws.jaxme.js.JavaSource pJs)
Method Detail

getJavaSource

public org.apache.ws.jaxme.js.JavaSource getJavaSource()
Returns the class being generated.

Specified by:
getJavaSource in interface HandlerSG

setParamAttrs

protected void setParamAttrs(org.apache.ws.jaxme.js.DirectAccessible pParamAttrs)

getParamAttrs

protected org.apache.ws.jaxme.js.DirectAccessible getParamAttrs()

setParamLocalName

protected void setParamLocalName(org.apache.ws.jaxme.js.DirectAccessible pParamLocalName)

getParamLocalName

protected org.apache.ws.jaxme.js.DirectAccessible getParamLocalName()

setParamNamespaceURI

protected void setParamNamespaceURI(org.apache.ws.jaxme.js.DirectAccessible pParamNamespaceURI)

getParamNamespaceURI

protected org.apache.ws.jaxme.js.DirectAccessible getParamNamespaceURI()

setParamQName

protected void setParamQName(org.apache.ws.jaxme.js.DirectAccessible pParamQName)

getParamQName

protected org.apache.ws.jaxme.js.DirectAccessible getParamQName()

setParamResult

protected void setParamResult(org.apache.ws.jaxme.js.DirectAccessible pParamResult)

getParamResult

protected org.apache.ws.jaxme.js.DirectAccessible getParamResult()

createSetOfExplicitURIs

private java.util.Set createSetOfExplicitURIs(org.apache.ws.jaxme.generator.sg.AttributeSG[] pAttributes)
Returns the set of namespace URI's in pAttributes.


newAddAttributeMethod

public org.apache.ws.jaxme.js.JavaMethod newAddAttributeMethod()
                                                        throws org.xml.sax.SAXException
Description copied from interface: HandlerSG
Creates the handlers method JMSAXElementParser.addAttribute(String, String, String)>JMSAXElementParser.addAttribute(String, String, String) 55 .

Specified by:
newAddAttributeMethod in interface HandlerSG

newStartElementMethod

public org.apache.ws.jaxme.js.JavaMethod newStartElementMethod()
                                                        throws org.xml.sax.SAXException
Description copied from interface: HandlerSG
Creates the handlers method JMSAXGroupParser.startElement(String, String, String, org.xml.sax.Attributes)>JMSAXGroupParser.startElement(String, String, String, org.xml.sax.Attributes) 55 .

Specified by:
newStartElementMethod in interface HandlerSG

newEndElementMethod

public org.apache.ws.jaxme.js.JavaMethod newEndElementMethod()
                                                      throws org.xml.sax.SAXException
Description copied from interface: HandlerSG
Creates the handlers method JMSAXGroupParser.endElement(String, String, String, Object)>JMSAXGroupParser.endElement(String, String, String, Object) 55 .

Specified by:
newEndElementMethod in interface HandlerSG

newIsFinishedMethod

public org.apache.ws.jaxme.js.JavaMethod newIsFinishedMethod()
                                                      throws org.xml.sax.SAXException
Description copied from interface: HandlerSG
Creates the handlers method JMSAXGroupParser.isFinished()>JMSAXGroupParser.isFinished() 55 .

Specified by:
newIsFinishedMethod in interface HandlerSG

newIsEmptyMethod

public org.apache.ws.jaxme.js.JavaMethod newIsEmptyMethod()
                                                   throws org.xml.sax.SAXException
Description copied from interface: HandlerSG
Creates the handlers method JMSAXElementParser.isEmpty()>JMSAXElementParser.isEmpty() 55 .

Specified by:
newIsEmptyMethod in interface HandlerSG

newIsAtomicMethod

public org.apache.ws.jaxme.js.JavaMethod newIsAtomicMethod()
                                                    throws org.xml.sax.SAXException
Description copied from interface: HandlerSG
Creates the handlers method JMSAXElementParser.isAtomic()>JMSAXElementParser.isAtomic() 55 .

Specified by:
newIsAtomicMethod in interface HandlerSG

createSimpleTypeConversion

protected org.apache.ws.jaxme.js.TypedValue createSimpleTypeConversion(org.apache.ws.jaxme.js.JavaMethod pJm,
                                                                       org.apache.ws.jaxme.generator.sg.TypeSG pType,
                                                                       org.apache.ws.jaxme.js.TypedValue pValue,
                                                                       java.lang.String pName)
                                                                throws org.xml.sax.SAXException

generate

public void generate()
              throws org.xml.sax.SAXException
Description copied from interface: HandlerSG
Invokes the various "newFooMethod" methods.

Specified by:
generate in interface HandlerSG