|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.common.xmlschema.SchemaCollection
public class SchemaCollection
Wrapper class for XmlSchemaCollection that deals with various quirks and bugs.
Constructor Summary | |
---|---|
SchemaCollection()
|
|
SchemaCollection(org.apache.ws.commons.schema.XmlSchemaCollection col)
|
Method Summary | |
---|---|
void |
addCrossImports()
|
boolean |
equals(Object obj)
|
org.apache.ws.commons.schema.XmlSchemaAttribute |
getAttributeByQName(QName qname)
|
org.apache.ws.commons.schema.XmlSchemaElement |
getElementByQName(QName qname)
|
org.apache.ws.commons.schema.extensions.ExtensionRegistry |
getExtReg()
|
org.apache.ws.commons.schema.utils.NamespacePrefixList |
getNamespaceContext()
|
org.apache.ws.commons.schema.XmlSchema |
getSchemaByTargetNamespace(String namespaceURI)
This function is not part of the XmlSchema API. |
org.apache.ws.commons.schema.XmlSchema |
getSchemaForElement(QName name)
|
org.apache.ws.commons.schema.XmlSchemaType |
getTypeByQName(QName schemaTypeName)
|
org.apache.ws.commons.schema.XmlSchema[] |
getXmlSchema(String systemId)
|
org.apache.ws.commons.schema.XmlSchemaCollection |
getXmlSchemaCollection()
|
org.apache.ws.commons.schema.XmlSchema[] |
getXmlSchemas()
|
int |
hashCode()
|
void |
init()
|
org.apache.ws.commons.schema.XmlSchema |
newXmlSchemaInCollection(String namespaceURI)
Once upon a time, XmlSchema had a bug in the constructor used in this function. |
org.apache.ws.commons.schema.XmlSchema |
read(Document d,
String uri)
|
org.apache.ws.commons.schema.XmlSchema |
read(Element elem)
|
org.apache.ws.commons.schema.XmlSchema |
read(Element elem,
String uri)
|
void |
setBaseUri(String baseUri)
|
void |
setExtReg(org.apache.ws.commons.schema.extensions.ExtensionRegistry extReg)
|
void |
setNamespaceContext(org.apache.ws.commons.schema.utils.NamespacePrefixList namespaceContext)
|
void |
setSchemaResolver(org.apache.ws.commons.schema.resolver.URIResolver schemaResolver)
|
void |
validateElementName(QName referrer,
QName elementQName)
|
void |
validateQNameNamespace(QName qname)
Validate that a qualified name points to some namespace in the schema. |
void |
validateTypeName(QName referrer,
QName typeQName)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SchemaCollection()
public SchemaCollection(org.apache.ws.commons.schema.XmlSchemaCollection col)
Method Detail |
---|
public org.apache.ws.commons.schema.XmlSchemaCollection getXmlSchemaCollection()
public boolean equals(Object obj)
equals
in class Object
public org.apache.ws.commons.schema.XmlSchemaElement getElementByQName(QName qname)
public org.apache.ws.commons.schema.XmlSchemaAttribute getAttributeByQName(QName qname)
public org.apache.ws.commons.schema.extensions.ExtensionRegistry getExtReg()
public org.apache.ws.commons.schema.utils.NamespacePrefixList getNamespaceContext()
public org.apache.ws.commons.schema.XmlSchemaType getTypeByQName(QName schemaTypeName)
public org.apache.ws.commons.schema.XmlSchema[] getXmlSchema(String systemId)
public org.apache.ws.commons.schema.XmlSchema[] getXmlSchemas()
public int hashCode()
hashCode
in class Object
public void init()
public org.apache.ws.commons.schema.XmlSchema read(Element elem, String uri)
public org.apache.ws.commons.schema.XmlSchema read(Document d, String uri)
public org.apache.ws.commons.schema.XmlSchema read(Element elem)
public void setBaseUri(String baseUri)
public void setExtReg(org.apache.ws.commons.schema.extensions.ExtensionRegistry extReg)
public void setNamespaceContext(org.apache.ws.commons.schema.utils.NamespacePrefixList namespaceContext)
public void setSchemaResolver(org.apache.ws.commons.schema.resolver.URIResolver schemaResolver)
public org.apache.ws.commons.schema.XmlSchema getSchemaByTargetNamespace(String namespaceURI)
namespaceURI
- targetNamespace
public org.apache.ws.commons.schema.XmlSchema getSchemaForElement(QName name)
public org.apache.ws.commons.schema.XmlSchema newXmlSchemaInCollection(String namespaceURI)
namespaceURI
- TNS for new schema.
public void validateQNameNamespace(QName qname)
qname
- public void validateElementName(QName referrer, QName elementQName)
public void validateTypeName(QName referrer, QName typeQName)
public void addCrossImports()
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |