net.sf.jaxme.xs.jaxb.impl
Class JAXBSchemaImpl

java.lang.Object
  extended bynet.sf.jaxme.xs.impl.XSSchemaImpl
      extended bynet.sf.jaxme.xs.jaxb.impl.JAXBSchemaImpl
All Implemented Interfaces:
JAXBSchema, XSObject, XSSchema

public class JAXBSchemaImpl
extends XSSchemaImpl
implements JAXBSchema

Author:
Jochen Wiedmann

Constructor Summary
protected JAXBSchemaImpl(XSContext pContext, XsESchema pSchema)
          Creates a new instance of JAXBSchemaImpl.
 
Method Summary
 java.lang.String[] getJaxbExtensionBindingPrefixes()
          Returns the schemas jaxb:extensionBindingPrefixes list.
 JAXBGlobalBindings getJAXBGlobalBindings()
          Returns the schemas globalBindings.
 java.lang.String getJaxbVersion()
          Returns the schemas jaxb:version attribute.
 void validate()
          Validates the objects internal state.
 
Methods inherited from class net.sf.jaxme.xs.impl.XSSchemaImpl
add, add, add, add, add, add, add, addChild, getAnnotations, getAttribute, getAttributeGroup, getAttributeGroups, getAttributes, getBuiltinTypes, getChilds, getContext, getElement, getElements, getGroup, getGroups, getLocator, getParentObject, getType, getTypes, getXsESchema, getXSObjectFactory, getXSSchema, isTopLevelObject, isValidated, redefine, redefine, redefine, replace, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.jaxme.xs.XSSchema
add, add, add, add, add, add, add, getAnnotations, getAttribute, getAttributeGroup, getAttributeGroups, getAttributes, getBuiltinTypes, getChilds, getContext, getElement, getElements, getGroup, getGroups, getType, getTypes, getXSObjectFactory, redefine, redefine, redefine
 
Methods inherited from interface net.sf.jaxme.xs.XSObject
getLocator, getParentObject, getXSSchema, isTopLevelObject
 

Constructor Detail

JAXBSchemaImpl

protected JAXBSchemaImpl(XSContext pContext,
                         XsESchema pSchema)
                  throws org.xml.sax.SAXException

Creates a new instance of JAXBSchemaImpl.

Method Detail

validate

public void validate()
              throws org.xml.sax.SAXException
Description copied from interface: XSObject

Validates the objects internal state.

Specified by:
validate in interface XSObject
Overrides:
validate in class XSSchemaImpl
Throws:
org.xml.sax.SAXException

getJAXBGlobalBindings

public JAXBGlobalBindings getJAXBGlobalBindings()
Description copied from interface: JAXBSchema

Returns the schemas globalBindings. This is guaranteed to be non-null.

Specified by:
getJAXBGlobalBindings in interface JAXBSchema

getJaxbVersion

public java.lang.String getJaxbVersion()
Description copied from interface: JAXBSchema

Returns the schemas jaxb:version attribute.

Specified by:
getJaxbVersion in interface JAXBSchema

getJaxbExtensionBindingPrefixes

public java.lang.String[] getJaxbExtensionBindingPrefixes()
Description copied from interface: JAXBSchema

Returns the schemas jaxb:extensionBindingPrefixes list.

Specified by:
getJaxbExtensionBindingPrefixes in interface JAXBSchema