当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
TemplateParser - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.format.template
Class TemplateParser
java.lang.Object
org.jboss.portal.format.template.TemplateParser
- public final class TemplateParser
- extends java.lang.Object
Method Summary |
void |
close()
|
org.dom4j.Document |
parse()
This method should be called only once. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemplateParser
public TemplateParser(java.io.File source)
throws java.io.FileNotFoundException
TemplateParser
public TemplateParser(java.lang.String source)
TemplateParser
public TemplateParser(java.io.Reader source)
parse
public org.dom4j.Document parse()
throws ParseException
- This method should be called only once. If it is called more than once
there are no garanty on the result.
- Throws:
ParseException
close
public void close()