|
ColdSpring 2.0 - Narwhal | ||||
| FRAMES | |||||
WEB-INF.cftags.component
coldspring.beans.xml.AbstractNamespaceHandler
public abstract class AbstractNamespaceHandler
abstract base class for Namespace handling, that implements much of what you would expect to need when handling namespaces
| Constructor Summary | |
|---|---|
private |
init()
Constructor |
| Method Summary | |
|---|---|
BeanDefinitionParser |
getBeanDefinitionParser(any element)
get the bean definition parser for a given element |
private struct<string,BeanDefinitionParser> |
getDefinitionParsers()
|
any |
getNameSpaces()
abstract function: overwrite to return a single, list or array of string values that are the namespaces this handler manages the parsing for |
struct<string,string> |
getSchemaLocations()
Overwite this function to give ColdSpring a map of remote Schemas to their local absolute paths |
boolean |
hasBeanDefinitionParser(any element)
do we have a DefintiionParser for this element? |
private void |
registerBeanDefinitionParser(string elementName, BeanDefinitionParser definitionParser)
registers a Definition parser for given XML element name |
private void |
setDefinitionParsers(struct<string,BeanDefinitionParser> DefinitionParsers)
|
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
private init()
| Method Detail |
|---|
public BeanDefinitionParser getBeanDefinitionParser(any element)
getBeanDefinitionParser
in interface
NamespaceHandler
element - the org.w3c.dom.Element for which you need a parserprivate struct<string,BeanDefinitionParser> getDefinitionParsers()
public any getNameSpaces()
getNameSpaces
in interface
NamespaceHandler
public struct<string,string> getSchemaLocations()
getSchemaLocations
in interface
NamespaceHandler
public boolean hasBeanDefinitionParser(any element)
hasBeanDefinitionParser
in interface
NamespaceHandler
element - the org.w3c.dom.Element for which you need a parserprivate void registerBeanDefinitionParser(string elementName, BeanDefinitionParser definitionParser)
elementName - the name of the element to parsedefinitionParser - The Definition parserprivate void setDefinitionParsers(struct<string,BeanDefinitionParser> DefinitionParsers)
DefinitionParsers
|
ColdSpring 2.0 - Narwhal | ||||
| FRAMES | |||||