org.apache.ws.jaxme.xs.jaxb.impl
Class JAXBJavaTypeImpl

java.lang.Object
  extended by org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl
      extended by org.apache.ws.jaxme.xs.jaxb.impl.JAXBJavaTypeImpl
All Implemented Interfaces:
JAXBJavaType, XsObject
Direct Known Subclasses:
JAXBJavaTypeImpl.JAXBGlobalJavaTypeImpl

public class JAXBJavaTypeImpl
extends XsObjectImpl
implements JAXBJavaType

Version:
$Id$
Author:
Jochen Wiedmann

Nested Class Summary
static class JAXBJavaTypeImpl.JAXBGlobalJavaTypeImpl
           
 
Nested classes/interfaces inherited from interface org.apache.ws.jaxme.xs.jaxb.JAXBJavaType
JAXBJavaType.JAXBGlobalJavaType
 
Constructor Summary
protected JAXBJavaTypeImpl(XsObject pParent)
          Creates a new instance of JAXBJavaTypeImpl.java.
 
Method Summary
 java.lang.String getName()
          Returns the runtime type.
 java.lang.String getParseMethod()
          Returns the name of the parse() method.
 java.lang.String getPrintMethod()
          Returns the name of the print() method.
 XsQName getXmlType()
          Returns the XML type.
 boolean hasNsContext()
          Returns whether the print() and/or parse() methods have an additional nsContext attribute.
 void setHasNsContext(boolean pHasNsContext)
           
 void setName(java.lang.String pName)
           
 void setParseMethod(java.lang.String pParseMethod)
           
 void setPrintMethod(java.lang.String pPrintMethod)
           
 void setXmlType(java.lang.String pXmlType)
          Sets the XML Type being customized by this element.
 void setXmlType(XsQName pXmlType)
          Sets the XML Type being customized by this element.
 
Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl
asXsQName, asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsObject
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, validate
 

Constructor Detail

JAXBJavaTypeImpl

protected JAXBJavaTypeImpl(XsObject pParent)

Creates a new instance of JAXBJavaTypeImpl.java.

Method Detail

setName

public void setName(java.lang.String pName)

getName

public java.lang.String getName()
Description copied from interface: JAXBJavaType

Returns the runtime type.

Specified by:
getName in interface JAXBJavaType

setHasNsContext

public void setHasNsContext(boolean pHasNsContext)

hasNsContext

public boolean hasNsContext()
Description copied from interface: JAXBJavaType

Returns whether the print() and/or parse() methods have an additional nsContext attribute.

Specified by:
hasNsContext in interface JAXBJavaType

setParseMethod

public void setParseMethod(java.lang.String pParseMethod)

getParseMethod

public java.lang.String getParseMethod()
Description copied from interface: JAXBJavaType

Returns the name of the parse() method.

Specified by:
getParseMethod in interface JAXBJavaType

setPrintMethod

public void setPrintMethod(java.lang.String pPrintMethod)

getPrintMethod

public java.lang.String getPrintMethod()
Description copied from interface: JAXBJavaType

Returns the name of the print() method.

Specified by:
getPrintMethod in interface JAXBJavaType

setXmlType

public void setXmlType(java.lang.String pXmlType)
                throws org.xml.sax.SAXException
Sets the XML Type being customized by this element.

Throws:
org.xml.sax.SAXException

setXmlType

public void setXmlType(XsQName pXmlType)
Sets the XML Type being customized by this element.


getXmlType

public XsQName getXmlType()
Description copied from interface: JAXBJavaType
Returns the XML type.

Specified by:
getXmlType in interface JAXBJavaType