|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.ws.commons.schema.XmlSchemaSerializer
public class XmlSchemaSerializer
Convert from the XML Schema class representation to the standard XML representation.
Nested Class Summary | |
---|---|
static class |
XmlSchemaSerializer.XmlSchemaSerializerException
Exception class used for serialization problems. |
Field Summary | |
---|---|
static String |
XSD_NAMESPACE
|
Constructor Summary | |
---|---|
XmlSchemaSerializer()
Create a new serializer. |
Method Summary | |
---|---|
ExtensionRegistry |
getExtReg()
Get the registry of extensions for this serializer. |
Document[] |
serializeSchema(XmlSchema schemaObj,
boolean serializeIncluded)
Serialize an entire schema, returning an array of DOM Documents, one per XSL file. |
void |
setExtReg(ExtensionRegistry extReg)
Set the registry of extensions for this serializer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String XSD_NAMESPACE
Constructor Detail |
---|
public XmlSchemaSerializer()
Method Detail |
---|
public ExtensionRegistry getExtReg()
public Document[] serializeSchema(XmlSchema schemaObj, boolean serializeIncluded) throws XmlSchemaSerializer.XmlSchemaSerializerException
XmlSchema
objects to represent them, they will
be returned as additional documents in the array.
schemaObj
- The XML Schema.serializeIncluded
- whether to create DOM trees for any included or imported schemas.
XmlSchemaSerializer.XmlSchemaSerializerException
public void setExtReg(ExtensionRegistry extReg)
extReg
- the registry.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |