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.
|
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 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–2014 The Apache Software Foundation. All rights reserved.