|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.eviware.soapui.impl.wadl.inference.schema.SchemaSystem
public class SchemaSystem
Represents a set of namespaces with inferred schemas.
Constructor Summary | |
---|---|
SchemaSystem()
Constructs a new SchemaSystem object. |
|
SchemaSystem(com.eviware.soapui.inferredSchema.SchemaSetConfig xml)
Constructs a SchemaSystem object using previously saved data. |
Method Summary | |
---|---|
void |
deleteNamespace(java.lang.String ns)
|
java.util.Set<java.lang.String> |
getNamespaces()
Get a list of contained namespaces. |
Schema |
getSchemaForNamespace(java.lang.String namespace)
Returns the matching Schema for the given namespace. |
Type |
getType(javax.xml.namespace.QName qname)
Get an existing Type by its QName. |
Schema |
newSchema(java.lang.String namespace)
Create a blank new Schema under this SchemaSystem for a given namespace. |
void |
save(com.eviware.soapui.inferredSchema.SchemaSetConfig xml)
Saves the SchemaSystem to an XmlObject. |
void |
validate(org.apache.xmlbeans.XmlObject xmlo,
ConflictHandler handler)
Validate an XmlObject against the contained inferred schemas. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SchemaSystem()
public SchemaSystem(com.eviware.soapui.inferredSchema.SchemaSetConfig xml)
xml
- The XmlObject to which data has previously been saved.Method Detail |
---|
public void save(com.eviware.soapui.inferredSchema.SchemaSetConfig xml)
xml
- A blank XmlObject to save to.public Schema newSchema(java.lang.String namespace)
namespace
- The namespace for which to create a Schema.
public Schema getSchemaForNamespace(java.lang.String namespace)
namespace
- A namespace that already exists within the SchemaSystem.
public Type getType(javax.xml.namespace.QName qname)
qname
- A QName containing the namespace URI of the schema in which the
Type exists, and also the name of the type.
public void validate(org.apache.xmlbeans.XmlObject xmlo, ConflictHandler handler) throws org.apache.xmlbeans.XmlException
xmlo
- An XmlObject containing the document to be validated.handler
- A ConflictHandler to use on validation errors.
org.apache.xmlbeans.XmlException
- On unresolvable validation error.public java.util.Set<java.lang.String> getNamespaces()
public void deleteNamespace(java.lang.String ns)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |