org.apache.ws.jaxme.generator.sg.impl

Class AnyAttributePropertySG

Implemented Interfaces:
PropertySGChain

public class AnyAttributePropertySG
extends JAXBPropertySG

PropertySG for attribute wildcards.
Author:
Jochen Wiedmann

Constructor Summary

AnyAttributePropertySG(AttributeSG pAttribute, XSWildcard pWildcard)

Method Summary

void
generate(PropertySG pController, JavaSource pSource)
protected JavaField
getNamespaces(PropertySG pController, JavaSource pSource)
protected String
getTargetNamespace()
protected void
getValidNamespaceCheck(PropertySG pController, JavaMethod pMethod, Parameter pName)
JavaField
getXMLField(PropertySG pController, JavaSource pSource)
JavaMethod
getXMLGetArrayMethod(PropertySG pController, JavaSource pSource)
JavaMethod
getXMLGetMethod(PropertySG pController, JavaSource pSource)
JavaMethod
getXMLSetMethod(PropertySG pController, JavaSource pSource)
JavaMethod
getXMLUnsetMethod(PropertySG pController, JavaSource pSource)

Methods inherited from class org.apache.ws.jaxme.generator.sg.impl.JAXBPropertySG

addValue, forAllNonNullValues, forAllValues, generate, getCollectionType, getPropertyName, getValue, getXMLField, getXMLFieldName, getXMLGetMethod, getXMLGetMethodName, getXMLIsSetMethod, getXMLIsSetMethodName, getXMLSetMethod, getXMLSetMethodName, hasIsSetMethod, init, setValue

Constructor Details

AnyAttributePropertySG

protected AnyAttributePropertySG(AttributeSG pAttribute,
                                 XSWildcard pWildcard)

Method Details

generate

public void generate(PropertySG pController,
                     JavaSource pSource)
            throws SAXException
Specified by:
generate in interface PropertySGChain
Overrides:
generate in interface JAXBPropertySG

getNamespaces

protected JavaField getNamespaces(PropertySG pController,
                                  JavaSource pSource)
            throws SAXException

getTargetNamespace

protected String getTargetNamespace()

getValidNamespaceCheck

protected void getValidNamespaceCheck(PropertySG pController,
                                      JavaMethod pMethod,
                                      Parameter pName)
            throws SAXException

getXMLField

public JavaField getXMLField(PropertySG pController,
                             JavaSource pSource)
            throws SAXException
Specified by:
getXMLField in interface PropertySGChain
Overrides:
getXMLField in interface JAXBPropertySG

getXMLGetArrayMethod

public JavaMethod getXMLGetArrayMethod(PropertySG pController,
                                       JavaSource pSource)
            throws SAXException

getXMLGetMethod

public JavaMethod getXMLGetMethod(PropertySG pController,
                                  JavaSource pSource)
            throws SAXException
Specified by:
getXMLGetMethod in interface PropertySGChain
Overrides:
getXMLGetMethod in interface JAXBPropertySG

getXMLSetMethod

public JavaMethod getXMLSetMethod(PropertySG pController,
                                  JavaSource pSource)
            throws SAXException
Specified by:
getXMLSetMethod in interface PropertySGChain
Overrides:
getXMLSetMethod in interface JAXBPropertySG

getXMLUnsetMethod

public JavaMethod getXMLUnsetMethod(PropertySG pController,
                                    JavaSource pSource)
            throws SAXException