public class SchemaCollection extends Object
Constructor and Description |
---|
SchemaCollection() |
SchemaCollection(org.apache.ws.commons.schema.XmlSchemaCollection col) |
Modifier and Type | Method and Description |
---|---|
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) |
public SchemaCollection()
public SchemaCollection(org.apache.ws.commons.schema.XmlSchemaCollection col)
public org.apache.ws.commons.schema.XmlSchemaCollection getXmlSchemaCollection()
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 void init()
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
- targetNamespacepublic 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 addCrossImports()
Copyright © 2019 JBoss by Red Hat. All rights reserved.