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

Class JAXBSchemaImpl

Implemented Interfaces:
JAXBSchema, XSObject, XSOpenAttrs, XSSchema

public class JAXBSchemaImpl
extends XSSchemaImpl
implements JAXBSchema

Author:
Jochen Wiedmann

Constructor Summary

JAXBSchemaImpl(XSContext pContext, XsESchema pSchema)
Creates a new instance of JAXBSchemaImpl.

Method Summary

JAXBGlobalBindings
getJAXBGlobalBindings()
Returns the schemas globalBindings.
String[]
getJaxbExtensionBindingPrefixes()
Returns the schemas jaxb:extensionBindingPrefixes list.
String
getJaxbVersion()
Returns the schemas jaxb:version attribute.
void
validate()

Methods inherited from class org.apache.ws.jaxme.xs.impl.XSSchemaImpl

add, add, add, add, add, add, add, add, add, addChild, getAnnotations, getAttribute, getAttributeGroup, getAttributeGroups, getAttributes, getBuiltinTypes, getChilds, getContext, getElement, getElements, getGroup, getGroups, getIdentityConstraints, getKeyRefs, getLocator, getOpenAttributes, getParentObject, getTargetNamespace, getType, getTypes, getXSObjectFactory, getXSSchema, getXsESchema, isTopLevelObject, isValidated, redefine, redefine, redefine, replace, validate, validate

Constructor Details

JAXBSchemaImpl

protected JAXBSchemaImpl(XSContext pContext,
                         XsESchema pSchema)
            throws SAXException
Creates a new instance of JAXBSchemaImpl.

Method Details

getJAXBGlobalBindings

public JAXBGlobalBindings getJAXBGlobalBindings()
Returns the schemas globalBindings. This is guaranteed to be non-null.
Specified by:
getJAXBGlobalBindings in interface JAXBSchema

getJaxbExtensionBindingPrefixes

public String[] getJaxbExtensionBindingPrefixes()
Returns the schemas jaxb:extensionBindingPrefixes list.
Specified by:
getJaxbExtensionBindingPrefixes in interface JAXBSchema

getJaxbVersion

public String getJaxbVersion()
Returns the schemas jaxb:version attribute.
Specified by:
getJaxbVersion in interface JAXBSchema

validate

public void validate()
            throws SAXException
Specified by:
validate in interface XSObject
Overrides:
validate in interface XSSchemaImpl