public class UrlBeanDefinitionParser
extends org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
<gate:url>path</gate:url>, producing the
equivalent of
<bean class="gate.util.spring.SpringFactory"
factory-method="resourceToUrl">
<constructor-arg value="path" />
</bean>
The <gate:url> element can take an id
attribute, but in most cases it will be used inline (e.g. as the value
of a property or as an entry in a feature map).| Constructor and Description |
|---|
UrlBeanDefinitionParser() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doParse(Element element,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder) |
protected String |
getBeanClassName(Element element) |
protected boolean |
shouldGenerateIdAsFallback() |
doParse, getBeanClass, getParentName, parseInternalprotected void doParse(Element element, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
doParse in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParserprotected String getBeanClassName(Element element)
getBeanClassName in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParserprotected boolean shouldGenerateIdAsFallback()
shouldGenerateIdAsFallback in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParserCopyright © 2023 GATE. All rights reserved.