public class Writer extends Object
| Constructor and Description |
|---|
Writer()
Instantiates a new dtd2 xsd writer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addXsdTypePattern(List<TypePattern> list)
Adds the xsd type pattern.
|
void |
addXsdTypePattern(TypePattern xsdTypePattern)
Adds the xsd type pattern.
|
OutputStream |
getOutStream()
Gets the out stream.
|
String |
getTargetNamespace()
Gets the target namespace.
|
void |
parse(org.apache.xerces.xni.parser.XMLInputSource xmlInputSource)
Parses the.
|
void |
setOutStream(OutputStream outStream)
Sets the out stream.
|
void |
setTargetNamespace(String targetNamespace)
Sets the target namespace.
|
public void addXsdTypePattern(List<TypePattern> list)
list - the listpublic void addXsdTypePattern(TypePattern xsdTypePattern)
xsdTypePattern - the xsd type patternpublic OutputStream getOutStream()
public String getTargetNamespace()
public void parse(org.apache.xerces.xni.parser.XMLInputSource xmlInputSource)
throws org.apache.xerces.xni.XNIException,
IOException
xmlInputSource - the xml input sourceorg.apache.xerces.xni.XNIException - the xNI exceptionIOException - Signals that an I/O exception has occurred.public void setOutStream(OutputStream outStream)
outStream - the new out streampublic void setTargetNamespace(String targetNamespace)
targetNamespace - the new target namespaceCopyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.