|
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()
|
void |
addGlobalElementToSchema(org.apache.ws.commons.schema.XmlSchemaElement element)
|
static void |
addGlobalElementToSchema(org.apache.ws.commons.schema.XmlSchema schema,
org.apache.ws.commons.schema.XmlSchemaElement element)
|
static void |
addGlobalTypeToSchema(org.apache.ws.commons.schema.XmlSchema schema,
org.apache.ws.commons.schema.XmlSchemaType type)
|
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 doc,
String uri,
org.apache.ws.commons.schema.ValidationEventHandler veh)
|
org.apache.ws.commons.schema.XmlSchema |
read(Document doc,
String uri,
org.apache.ws.commons.schema.ValidationEventHandler veh,
org.apache.ws.commons.schema.utils.TargetNamespaceValidator validator)
|
org.apache.ws.commons.schema.XmlSchema |
read(Document doc,
org.apache.ws.commons.schema.ValidationEventHandler veh)
|
org.apache.ws.commons.schema.XmlSchema |
read(Element elem)
|
org.apache.ws.commons.schema.XmlSchema |
read(Element elem,
String uri)
|
org.apache.ws.commons.schema.XmlSchema |
read(InputSource inputSource,
org.apache.ws.commons.schema.ValidationEventHandler veh)
|
org.apache.ws.commons.schema.XmlSchema |
read(Reader r,
org.apache.ws.commons.schema.ValidationEventHandler veh)
|
org.apache.ws.commons.schema.XmlSchema |
read(Source source,
org.apache.ws.commons.schema.ValidationEventHandler veh)
|
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(Document doc, String uri, org.apache.ws.commons.schema.ValidationEventHandler veh, org.apache.ws.commons.schema.utils.TargetNamespaceValidator validator)
public org.apache.ws.commons.schema.XmlSchema read(Document doc, String uri, org.apache.ws.commons.schema.ValidationEventHandler veh)
public org.apache.ws.commons.schema.XmlSchema read(Document doc, org.apache.ws.commons.schema.ValidationEventHandler veh)
public org.apache.ws.commons.schema.XmlSchema read(Element elem, String uri)
public org.apache.ws.commons.schema.XmlSchema read(Element elem)
public org.apache.ws.commons.schema.XmlSchema read(InputSource inputSource, org.apache.ws.commons.schema.ValidationEventHandler veh)
public org.apache.ws.commons.schema.XmlSchema read(Reader r, org.apache.ws.commons.schema.ValidationEventHandler veh)
public org.apache.ws.commons.schema.XmlSchema read(Source source, org.apache.ws.commons.schema.ValidationEventHandler veh)
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 addGlobalElementToSchema(org.apache.ws.commons.schema.XmlSchemaElement element)
public void addCrossImports()
public static void addGlobalElementToSchema(org.apache.ws.commons.schema.XmlSchema schema, org.apache.ws.commons.schema.XmlSchemaElement element)
public static void addGlobalTypeToSchema(org.apache.ws.commons.schema.XmlSchema schema, org.apache.ws.commons.schema.XmlSchemaType type)
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |