org.apache.ws.jaxme.xs.jaxb.impl
Class JAXBXsSchemaImpl
java.lang.Object
org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl
org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl
org.apache.ws.jaxme.xs.xml.impl.XsESchemaImpl
org.apache.ws.jaxme.xs.jaxb.impl.JAXBXsSchemaImpl
- All Implemented Interfaces:
- JAXBXsSchema, XsESchema, XsObject, XsSchemaHeader, XsTOpenAttrs
- public class JAXBXsSchemaImpl
- extends XsESchemaImpl
- implements JAXBXsSchema
- Author:
- Jochen Wiedmann
| Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsESchemaImpl |
createAnnotation, createAttribute, createAttributeGroup, createComplexType, createElement, createGroup, createImport, createInclude, createNotation, createRedefine, createSimpleType, getAttributeFormDefault, getBlockDefault, getChilds, getContext, getElementFormDefault, getFinalDefault, getId, getLang, getTargetNamespace, getTargetNamespacePrefix, getVersion, newXsQName, setAttributeFormDefault, setBlockDefault, setElementFormDefault, setFinalDefault, setId, setLang, setTargetNamespace, setVersion |
| 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.XsESchema |
createAnnotation, createAttribute, createAttributeGroup, createComplexType, createElement, createGroup, createImport, createInclude, createNotation, createRedefine, createSimpleType, getChilds, getContext, setAttributeFormDefault, setBlockDefault, setElementFormDefault, setFinalDefault, setId, setTargetNamespace, setVersion |
JAXBXsSchemaImpl
public JAXBXsSchemaImpl(XSContext pContext)
Creates a new instance of JAXBXsSchemaImpl.
setJaxbVersion
public void setJaxbVersion(java.lang.String pVersion)
setJaxbExtensionBindingPrefixes
public void setJaxbExtensionBindingPrefixes(java.lang.String pExtensionBindingPrefixes)
getJaxbExtensionBindingPrefixes
public java.lang.String[] getJaxbExtensionBindingPrefixes()
- Description copied from interface:
JAXBXsSchema
Returns the list of extension binding prefixes.
- Specified by:
getJaxbExtensionBindingPrefixes in interface JAXBXsSchema
getJaxbVersion
public java.lang.String getJaxbVersion()
- Description copied from interface:
JAXBXsSchema
Returns the jaxb:version attribute.
- Specified by:
getJaxbVersion in interface JAXBXsSchema
validate
public void validate()
throws org.xml.sax.SAXException
- Description copied from interface:
XsObject
- Validates the internal state of the type, attribute, element,
or whatever object.
- Specified by:
validate in interface XsObject- Overrides:
validate in class XsObjectImpl
- Throws:
org.xml.sax.SAXException
getJAXBSchemaBindings
public JAXBSchemaBindings getJAXBSchemaBindings()
- Specified by:
getJAXBSchemaBindings in interface JAXBXsSchema
setAttribute
public boolean setAttribute(java.lang.String pQName,
java.lang.String pNamespaceURI,
java.lang.String pLocalName,
java.lang.String pValue)
throws org.xml.sax.SAXException
- Description copied from class:
XsTOpenAttrsImpl
This method receives all the attributes, including those from the
XML schema namespace. The method refuses to handle the attribute, if
it has the XML schema namespace by returning the value false. Otherwise,
the attribute is added to the list returned by XsTOpenAttrsImpl.getOpenAttributes()
and the value true is returned.
- Overrides:
setAttribute in class XsESchemaImpl
- Throws:
org.xml.sax.SAXException