|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ebmwebsourcing.commons.schema.impl.SchemaJAXBContext
com.ebmwebsourcing.commons.schema.impl.SchemaWriter
public class SchemaWriter
| Field Summary |
|---|
| Fields inherited from class com.ebmwebsourcing.commons.schema.impl.SchemaJAXBContext |
|---|
jaxbContext |
| Constructor Summary | |
|---|---|
SchemaWriter()
|
|
| Method Summary | |
|---|---|
org.w3c.dom.Document |
getDocument(Schema schemaDef)
Return a document generated from the specified Schema model. |
boolean |
getFeature(java.lang.String name)
Gets the value of the specified feature. |
static javax.xml.bind.Marshaller |
getMarshaller()
Get the marshaller instance. |
void |
setFeature(java.lang.String name,
boolean value)
Sets the specified feature to the specified value. |
java.lang.String |
writeSchema(Schema schemaDef)
Write the specified Schema definition . |
| Methods inherited from class com.ebmwebsourcing.commons.schema.impl.SchemaJAXBContext |
|---|
createContext, getJaxbContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SchemaWriter()
| Method Detail |
|---|
public static javax.xml.bind.Marshaller getMarshaller()
throws SchemaException
SchemaException - The exception raised during the marshaller creation.
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 java.lang.String writeSchema(Schema schemaDef)
throws SchemaException
SchemaWriter
writeSchema in interface SchemaWriterschemaDef - the Schema definition to be written.
SchemaException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||