|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.eviware.soapui.impl.wadl.inference.support.InferredSchemaImpl
public class InferredSchemaImpl
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.eviware.soapui.impl.wadl.inference.InferredSchema |
---|
InferredSchema.Factory |
Constructor Summary | |
---|---|
InferredSchemaImpl()
|
|
InferredSchemaImpl(java.io.InputStream is)
|
Method Summary | |
---|---|
void |
deleteNamespace(java.lang.String ns)
|
java.lang.String[] |
getNamespaces()
Returns a list of inferred namespaces. |
org.apache.xmlbeans.SchemaTypeSystem |
getSchemaTypeSystem()
Method for reading out the inferred schema, in its current form. |
org.apache.xmlbeans.SchemaTypeSystem |
getSchemaTypeSystem(org.apache.xmlbeans.SchemaTypeSystem sts)
|
java.lang.String |
getXsdForNamespace(java.lang.String namespace)
Returns a string representation of the XML Schema for a particular namespace, if available. |
void |
learningValidate(org.apache.xmlbeans.XmlObject xml,
ConflictHandler handler)
Attempts to validate the given XML against the inferred schema. |
void |
processValidXml(org.apache.xmlbeans.XmlObject xml)
Expands the inferred schema to accept the input XML as valid. |
void |
save(java.io.OutputStream os)
Writes the XML represented by this InferredSchema. |
boolean |
validate(org.apache.xmlbeans.XmlObject xml)
Attempts to validate the given XML against the inferred schema. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InferredSchemaImpl()
public InferredSchemaImpl(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException
org.apache.xmlbeans.XmlException
java.io.IOException
Method Detail |
---|
public java.lang.String[] getNamespaces()
InferredSchema
getNamespaces
in interface InferredSchema
public org.apache.xmlbeans.SchemaTypeSystem getSchemaTypeSystem()
InferredSchema
getSchemaTypeSystem
in interface InferredSchema
public org.apache.xmlbeans.SchemaTypeSystem getSchemaTypeSystem(org.apache.xmlbeans.SchemaTypeSystem sts)
getSchemaTypeSystem
in interface InferredSchema
public java.lang.String getXsdForNamespace(java.lang.String namespace)
InferredSchema
getXsdForNamespace
in interface InferredSchema
public void learningValidate(org.apache.xmlbeans.XmlObject xml, ConflictHandler handler) throws org.apache.xmlbeans.XmlException
InferredSchema
learningValidate
in interface InferredSchema
org.apache.xmlbeans.XmlException
- for validation error.public void processValidXml(org.apache.xmlbeans.XmlObject xml) throws org.apache.xmlbeans.XmlException
InferredSchema
processValidXml
in interface InferredSchema
xml
- An XmlObject that is assumed to be valid.
org.apache.xmlbeans.XmlException
public void save(java.io.OutputStream os) throws java.io.IOException
InferredSchema
save
in interface InferredSchema
java.io.IOException
public boolean validate(org.apache.xmlbeans.XmlObject xml)
InferredSchema
validate
in interface InferredSchema
public void deleteNamespace(java.lang.String ns)
deleteNamespace
in interface InferredSchema
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |