|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ar.com.epere4.java2excel.parser.Parser
public class Parser
Field Summary | |
---|---|
static java.lang.String |
JAVA2EXCEL_LOCAL_DTD_URL
The url that identifies the local dtd location. |
static java.lang.String |
JAVA2EXCEL_PUBLIC_ID
This is the public id of java2excel DTD. |
static java.lang.String |
JAVA2EXCEL_ROOT_ELEMENT
The root element in the dtd, that needs to be the root element in the xml. |
static java.lang.String |
JAVA2EXCEL_SYSTEM_ID
This is the system id of java2excel DTD. |
Constructor Summary | |
---|---|
protected |
Parser()
Default Constructor. |
Method Summary | |
---|---|
Java2ExcelDtd |
parse(java.io.InputStream input)
This parses the xml input and returns an instance of Java2ExcelDtd ready to be processed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String JAVA2EXCEL_PUBLIC_ID
Doctype.getPublicId()
,
Constant Field Valuespublic static final java.lang.String JAVA2EXCEL_SYSTEM_ID
Doctype.getSystemId()
,
Constant Field Valuespublic static final java.lang.String JAVA2EXCEL_ROOT_ELEMENT
Doctype.getRootElement()
,
Constant Field Valuespublic static final java.lang.String JAVA2EXCEL_LOCAL_DTD_URL
Constructor Detail |
---|
protected Parser()
Method Detail |
---|
public final Java2ExcelDtd parse(java.io.InputStream input) throws java.io.IOException, org.xml.sax.SAXException
Java2ExcelDtd
ready to be processed.
input
- the xml. Must validate against
JAVA2EXCEL_LOCAL_DTD_URL
.
Java2ExcelDtd
ready to be processed
java.io.IOException
- if in input/output error comes up.
org.xml.sax.SAXException
- if the is a problem with the xml format.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |