public class XSInliner extends SAXDelegate
| Constructor and Description |
|---|
XSInliner() |
| Modifier and Type | Method and Description |
|---|---|
void |
endDocument() |
void |
endElement(String uri,
String localName,
String qName) |
void |
endPrefixMapping(String prefix) |
static InputSource |
include(String targetNamespace,
String... systemIDs) |
Document |
inline(InputSource input) |
Document |
inline(InputSource input,
String outputSystemID) |
static void |
main(String[] args) |
void |
setDocumentLocator(Locator locator) |
void |
startDocument() |
void |
startElement(String uri,
String localName,
String qName,
Attributes atts) |
void |
startPrefixMapping(String prefix,
String uri) |
attributeDecl, characters, comment, elementDecl, endCDATA, endDTD, endEntity, error, externalEntityDecl, fatalError, getContentHandler, getDeclHandler, getDTDHandler, getEntityResolver, getErrorHandler, getLexicalHandler, ignorableWhitespace, internalEntityDecl, notationDecl, processingInstruction, resolveEntity, setContentHandler, setDeclHandler, setDTDHandler, setEntityResolver, setErrorHandler, setHandler, setLexicalHandler, skippedEntity, startCDATA, startDTD, startEntity, unparsedEntityDecl, warningpublic Document inline(InputSource input, String outputSystemID) throws IOException, SAXException, ParserConfigurationException, TransformerConfigurationException
public Document inline(InputSource input) throws IOException, SAXException, ParserConfigurationException, TransformerConfigurationException
public void setDocumentLocator(Locator locator)
setDocumentLocator in interface ContentHandlersetDocumentLocator in class SAXDelegatepublic void startDocument()
throws SAXException
startDocument in interface ContentHandlerstartDocument in class SAXDelegateSAXExceptionpublic void startPrefixMapping(String prefix, String uri) throws SAXException
startPrefixMapping in interface ContentHandlerstartPrefixMapping in class SAXDelegateSAXExceptionpublic void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException
startElement in interface ContentHandlerstartElement in class SAXDelegateSAXExceptionpublic void endElement(String uri, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class SAXDelegateSAXExceptionpublic void endPrefixMapping(String prefix) throws SAXException
endPrefixMapping in interface ContentHandlerendPrefixMapping in class SAXDelegateSAXExceptionpublic void endDocument()
throws SAXException
endDocument in interface ContentHandlerendDocument in class SAXDelegateSAXExceptionpublic static InputSource include(String targetNamespace, String... systemIDs) throws TransformerConfigurationException
Copyright © 2021. All rights reserved.