站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.2 API 英文版文档

TemplateParser - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.format.template
Class TemplateParser

java.lang.Object
  extended byorg.jboss.portal.format.template.TemplateParser

public final class TemplateParser
extends java.lang.Object


Constructor Summary
TemplateParser(java.io.File source)
           
TemplateParser(java.io.Reader source)
           
TemplateParser(java.lang.String source)
           
 
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
 

Constructor Detail

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)
Method Detail

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()