public class SchemaWriterImpl extends Object implements SchemaWriter
| Constructor and Description |
|---|
SchemaWriterImpl() |
| Modifier and Type | Method and Description |
|---|---|
Document |
convertSchema2DOMElement(Schema schemaDescriptor,
NamespaceMapperImpl namespaceMapper) |
Document |
getDocument(Schema schemaDef)
Return a document generated from the specified SchemaImpl model.
|
boolean |
getFeature(String name)
Gets the value of the specified feature.
|
void |
setFeature(String name,
boolean value)
Sets the specified feature to the specified value.
|
void |
writeSchema(Schema schemaDef,
OutputStream output) |
public SchemaWriterImpl()
throws SchemaException
SchemaExceptionpublic Document convertSchema2DOMElement(Schema schemaDescriptor, NamespaceMapperImpl namespaceMapper) throws SchemaException
SchemaExceptionpublic Document getDocument(Schema schemaDef) throws SchemaException
SchemaWritergetDocument in interface SchemaWriterSchemaExceptionpublic boolean getFeature(String name) throws IllegalArgumentException
SchemaWritergetFeature in interface SchemaWritername - the name of the feature to get the value of.IllegalArgumentException - if the feature name is not recognized.SchemaWriter.setFeature(String, boolean)public void setFeature(String name, boolean value) throws 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.IllegalArgumentException - if the feature name is not recognized.SchemaWriter.getFeature(String)public void writeSchema(Schema schemaDef, OutputStream output) throws SchemaException
writeSchema in interface SchemaWriterSchemaExceptionCopyright © 2008-2015 Petals Link (previously EBM WebSourcing). All Rights Reserved.