|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.easywsdl.schema.impl.SchemaWriterImpl
public class SchemaWriterImpl
| Constructor Summary | |
|---|---|
SchemaWriterImpl()
|
|
| Method Summary | |
|---|---|
org.w3c.dom.Document |
convertSchema2DOMElement(Schema schemaDescriptor,
NamespaceMapperImpl namespaceMapper)
|
org.w3c.dom.Document |
getDocument(Schema schemaDef)
Return a document generated from the specified SchemaImpl model. |
boolean |
getFeature(java.lang.String name)
Gets the value of the specified feature. |
static SchemaJAXBContext |
getJaxbContext()
|
void |
setFeature(java.lang.String name,
boolean value)
Sets the specified feature to the specified value. |
void |
writeSchema(Schema schemaDef,
java.io.OutputStream output)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SchemaWriterImpl()
throws SchemaException
SchemaException| Method Detail |
|---|
public static SchemaJAXBContext getJaxbContext()
throws SchemaException
SchemaException
public org.w3c.dom.Document convertSchema2DOMElement(Schema schemaDescriptor,
NamespaceMapperImpl namespaceMapper)
throws SchemaException
SchemaException
public org.w3c.dom.Document getDocument(Schema schemaDef)
throws SchemaException
SchemaWriter
getDocument in interface SchemaWriterSchemaException
public boolean getFeature(java.lang.String name)
throws java.lang.IllegalArgumentException
SchemaWriter
getFeature in interface SchemaWritername - the name of the feature to get the value of.
java.lang.IllegalArgumentException - if the feature name is not recognized.SchemaWriter.setFeature(String, boolean)
public void setFeature(java.lang.String name,
boolean value)
throws java.lang.IllegalArgumentException
SchemaWriterThere are no minimum features that must be supported.
All feature names must be fully-qualified, Java package style. All names starting with javax.wsdl. are reserved for features defined by the JSchema specification. It is recommended that implementation- specific features be fully-qualified to match the package name of that implementation. For example: com.abc.featureName
setFeature in interface SchemaWritername - the name of the feature to be set.value - the value to set the feature to.
java.lang.IllegalArgumentException - if the feature name is not recognized.SchemaWriter.getFeature(String)
public void writeSchema(Schema schemaDef,
java.io.OutputStream output)
throws SchemaException
writeSchema in interface SchemaWriterSchemaException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||