public class XSDocument extends Namespaces
| Modifier and Type | Class and Description |
|---|---|
static class |
XSDocument.Compositor |
static class |
XSDocument.Constraint |
static class |
XSDocument.Content |
static class |
XSDocument.Derivation |
static class |
XSDocument.Facet |
URI_BPWS, URI_HTTP, URI_MIME, URI_PLINK, URI_SOAP, URI_SOAP12, URI_SOAP12ENC, URI_SOAP12ENV, URI_SOAPENC, URI_SOAPENV, URI_WSDL, URI_XHTML, URI_XML, URI_XMLNS, URI_XPATH, URI_XSD, URI_XSI, URI_XSL| Constructor and Description |
|---|
XSDocument(Result result,
boolean omitXMLDeclaration,
int indentAmount,
String encoding) |
XSDocument(XMLDocument xml) |
getSuggested, suggestPrefixpublic XSDocument(XMLDocument xml)
public XSDocument(Result result, boolean omitXMLDeclaration, int indentAmount, String encoding) throws TransformerConfigurationException
public XMLDocument xml()
public XSDocument startDocument() throws SAXException
SAXExceptionpublic XSDocument endDocument() throws SAXException
SAXExceptionpublic XSDocument startSchema(String targetNamespace) throws SAXException
SAXExceptionpublic XSDocument endSchema() throws SAXException
SAXExceptionpublic XSDocument addImport(String namespace, String schemaLocation) throws SAXException
SAXExceptionpublic XSDocument addInclude(String schemaLocation) throws SAXException
SAXExceptionpublic XSDocument name(String name) throws SAXException
SAXExceptionpublic XSDocument type(String typeNS, String typeLocalpart) throws SAXException
SAXExceptionpublic XSDocument ref(String typeNS, String typeLocalpart) throws SAXException
SAXExceptionpublic void occurs(int minOccurs,
int maxOccurs)
throws SAXException
SAXExceptionpublic XSDocument startElement() throws SAXException
SAXExceptionpublic XSDocument endElement() throws SAXException
SAXExceptionpublic XSDocument constraint(XSDocument.Constraint constraint, String constraintValue) throws SAXException
SAXExceptionpublic XSDocument required(boolean reqd) throws SAXException
SAXExceptionpublic XSDocument startAttribute() throws SAXException
SAXExceptionpublic XSDocument endAttribute() throws SAXException
SAXExceptionpublic XSDocument startSimpleType() throws SAXException
SAXExceptionpublic XSDocument endSimpleType() throws SAXException
SAXExceptionpublic XSDocument startCompositor(XSDocument.Compositor compositor) throws SAXException
SAXExceptionpublic XSDocument endCompositor() throws SAXException
SAXExceptionpublic XSDocument startDerivation(XSDocument.Derivation derivation, String baseNS, String baseLocalpart) throws SAXException
SAXExceptionpublic XSDocument endDerivation() throws SAXException
SAXExceptionpublic XSDocument startComplexType() throws SAXException
SAXExceptionpublic XSDocument prohibit(XSDocument.Derivation... derivations) throws SAXException
SAXExceptionpublic XSDocument endComplexType() throws SAXException
SAXExceptionpublic XSDocument startContent(XSDocument.Content content) throws SAXException
SAXExceptionpublic XSDocument endContent() throws SAXException
SAXExceptionpublic XSDocument addFacet(XSDocument.Facet facet, String value, boolean fixed) throws SAXException
SAXExceptionpublic XSDocument addMultiValueFacet(XSDocument.Facet facet, String... values) throws SAXException
SAXExceptionpublic XSDocument addList(String itemTypeNS, String itemTypeLocalpart) throws SAXException
SAXExceptionpublic XSDocument startUnion(String... memberParts) throws SAXException
SAXExceptionpublic XSDocument endUnion() throws SAXException
SAXExceptionpublic XSDocument startAnnotation() throws SAXException
SAXExceptionpublic XSDocument addDocumentation(String doc) throws SAXException
SAXExceptionpublic XSDocument endAnnotation() throws SAXException
SAXExceptionpublic static void main(String[] args) throws TransformerConfigurationException, SAXException
Copyright © 2021. All rights reserved.