public class XMLToSchema extends DefaultHandler
Constructor and Description |
---|
XMLToSchema(InputStream in) |
XMLToSchema(InputStream in,
SAXParserFactory saxParserFactory) |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String uri,
String localName,
String qName) |
Schema |
getSchema() |
void |
parse() |
void |
startElement(String uri,
String localName,
String qName,
Attributes atts) |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public XMLToSchema(InputStream in, SAXParserFactory saxParserFactory)
public XMLToSchema(InputStream in)
public void parse()
public Schema getSchema()
public void endElement(String uri, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class DefaultHandler
SAXException
public void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public void characters(char[] ch, int start, int length) throws SAXException
characters
in interface ContentHandler
characters
in class DefaultHandler
SAXException
Copyright © 2005–2017 Alfresco Software. All rights reserved.