public class XmlSchemaSerializer extends Object
Modifier and Type | Class and Description |
---|---|
static class |
XmlSchemaSerializer.XmlSchemaSerializerException
Exception class used for serialization problems.
|
Constructor and Description |
---|
XmlSchemaSerializer()
Create a new serializer.
|
Modifier and Type | Method and Description |
---|---|
ExtensionRegistry |
getExtReg()
Get the registry of extensions for this serializer.
|
org.w3c.dom.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.
|
public ExtensionRegistry getExtReg()
public void setExtReg(ExtensionRegistry extReg)
extReg
- the registry.public org.w3c.dom.Document[] serializeSchema(XmlSchema schemaObj, boolean serializeIncluded) throws XmlSchemaSerializer.XmlSchemaSerializerException
schemaObj
- The XML Schema.serializeIncluded
- whether to create DOM trees for any included or imported
schemas.XmlSchemaSerializer.XmlSchemaSerializerException
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.