com.bstek.dorado.view.config
public class XmlViewConfigDefinitionFactory extends java.lang.Object implements ViewConfigDefinitionFactory
Constructor and Description |
---|
XmlViewConfigDefinitionFactory() |
Modifier and Type | Method and Description |
---|---|
ViewConfigDefinition |
create(java.lang.String viewName)
根据视图名称获得视图的配置声明对象。
|
protected ViewConfigDefinition |
doCreate(java.lang.String viewName) |
protected ViewConfigInfo |
doGetViewConfigInfo(java.lang.String viewName) |
char |
getPathDelimChar() |
java.lang.String |
getPathPrefix()
返回文件路径的前缀。
|
java.lang.String |
getPathSubfix()
返回文件路径的后缀。
|
protected Resource |
getResource(java.lang.String viewName) |
protected Resource |
getResource(java.lang.String viewName,
java.lang.String pathSubfix) |
protected java.lang.String |
getResourcePath(java.lang.String viewName,
java.lang.String pathSubfix) |
ViewConfigInfo |
getViewConfigInfo(java.lang.String viewName) |
void |
setDataProviderDefinitionManager(DataProviderDefinitionManager dataProviderDefinitionManager) |
void |
setDataResolverDefinitionManager(DataResolverDefinitionManager dataResolverDefinitionManager) |
void |
setDataTypeDefinitionManager(DataTypeDefinitionManager dataTypeDefinitionManager) |
void |
setPathDelimChar(char pathDelimChar) |
void |
setPathPrefix(java.lang.String pathPrefix)
设置文件路径的前缀。
|
void |
setPathSubfix(java.lang.String pathSubfix)
设置文件路径的后缀。
|
void |
setXmlDocumentBuilder(XmlDocumentBuilder xmlDocumentBuilder)
设置XML配置文件构建类。
|
void |
setXmlParser(XmlParser xmlParser)
设置XML配置文件的根解析器。
|
void |
setXmlPreprocessor(XmlDocumentPreprocessor xmlPreprocessor) |
public void setXmlDocumentBuilder(XmlDocumentBuilder xmlDocumentBuilder)
public java.lang.String getPathPrefix()
public void setPathPrefix(java.lang.String pathPrefix)
public java.lang.String getPathSubfix()
public void setPathSubfix(java.lang.String pathSubfix)
public char getPathDelimChar()
public void setPathDelimChar(char pathDelimChar)
public void setXmlPreprocessor(XmlDocumentPreprocessor xmlPreprocessor)
public void setXmlParser(XmlParser xmlParser)
public void setDataTypeDefinitionManager(DataTypeDefinitionManager dataTypeDefinitionManager)
public void setDataProviderDefinitionManager(DataProviderDefinitionManager dataProviderDefinitionManager)
public void setDataResolverDefinitionManager(DataResolverDefinitionManager dataResolverDefinitionManager)
protected java.lang.String getResourcePath(java.lang.String viewName, java.lang.String pathSubfix) throws java.lang.Exception
java.lang.Exception
protected Resource getResource(java.lang.String viewName, java.lang.String pathSubfix) throws java.lang.Exception
java.lang.Exception
protected Resource getResource(java.lang.String viewName) throws java.lang.Exception
java.lang.Exception
public final ViewConfigInfo getViewConfigInfo(java.lang.String viewName) throws java.lang.Exception
getViewConfigInfo
in interface ViewConfigDefinitionFactory
java.lang.Exception
protected ViewConfigInfo doGetViewConfigInfo(java.lang.String viewName) throws java.lang.Exception
java.lang.Exception
public final ViewConfigDefinition create(java.lang.String viewName) throws java.lang.Exception
ViewConfigDefinitionFactory
create
in interface ViewConfigDefinitionFactory
java.lang.Exception
protected ViewConfigDefinition doCreate(java.lang.String viewName) throws java.lang.Exception
java.lang.Exception
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.