Class AbstractBeanDefinitionParser

java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
org.apache.cxf.configuration.spring.AbstractBeanDefinitionParser
All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser
Direct Known Subclasses:
AbstractFactoryBeanDefinitionParser, BusDefinitionParser, SimpleBeanDefinitionParser

public abstract class AbstractBeanDefinitionParser extends org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
  • Field Details

    • WIRE_BUS_ATTRIBUTE

      public static final String WIRE_BUS_ATTRIBUTE
    • WIRE_BUS_NAME

      public static final String WIRE_BUS_NAME
    • WIRE_BUS_CREATE

      public static final String WIRE_BUS_CREATE
    • WIRE_BUS_HANDLER

      public static final String WIRE_BUS_HANDLER
      See Also:
  • Constructor Details

    • AbstractBeanDefinitionParser

      public AbstractBeanDefinitionParser()
  • Method Details

    • doParse

      protected void doParse(Element element, org.springframework.beans.factory.xml.ParserContext ctx, org.springframework.beans.factory.support.BeanDefinitionBuilder bean)
      Overrides:
      doParse in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
    • parseAttributes

      protected boolean parseAttributes(Element element, org.springframework.beans.factory.xml.ParserContext ctx, org.springframework.beans.factory.support.BeanDefinitionBuilder bean)
    • parseAttribute

      protected boolean parseAttribute(Element element, Attr node, org.springframework.beans.factory.xml.ParserContext ctx, org.springframework.beans.factory.support.BeanDefinitionBuilder bean)
    • processBusAttribute

      protected boolean processBusAttribute(Element element, org.springframework.beans.factory.xml.ParserContext ctx, org.springframework.beans.factory.support.BeanDefinitionBuilder bean, String val)
    • processNameAttribute

      protected void processNameAttribute(Element element, org.springframework.beans.factory.xml.ParserContext ctx, org.springframework.beans.factory.support.BeanDefinitionBuilder bean, String val)
    • parseChildElements

      protected void parseChildElements(Element element, org.springframework.beans.factory.xml.ParserContext ctx, org.springframework.beans.factory.support.BeanDefinitionBuilder bean)
    • getBeanClass

      public Class<?> getBeanClass()
    • setBeanClass

      public void setBeanClass(Class<?> beanClass)
    • getBeanClass

      protected Class<?> getBeanClass(Element e)
      Overrides:
      getBeanClass in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
    • mapAttribute

      protected void mapAttribute(org.springframework.beans.factory.support.BeanDefinitionBuilder bean, Element e, String name, String val)
    • mapAttribute

      protected void mapAttribute(org.springframework.beans.factory.support.BeanDefinitionBuilder bean, String name, String val)
    • mapElement

      protected void mapElement(org.springframework.beans.factory.xml.ParserContext ctx, org.springframework.beans.factory.support.BeanDefinitionBuilder bean, Element e, String name)
    • resolveId

      protected String resolveId(Element elem, org.springframework.beans.factory.support.AbstractBeanDefinition definition, org.springframework.beans.factory.xml.ParserContext ctx)
      Overrides:
      resolveId in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
    • hasBusProperty

      protected boolean hasBusProperty()
    • getSuffix

      protected String getSuffix()
    • setFirstChildAsProperty

      protected void setFirstChildAsProperty(Element element, org.springframework.beans.factory.xml.ParserContext ctx, org.springframework.beans.factory.support.BeanDefinitionBuilder bean, String propertyName)
    • getFirstChild

      protected Element getFirstChild(Element element)
    • addBusWiringAttribute

      protected void addBusWiringAttribute(org.springframework.beans.factory.support.BeanDefinitionBuilder bean, BusWiringType type)
    • addBusWiringAttribute

      protected void addBusWiringAttribute(org.springframework.beans.factory.support.BeanDefinitionBuilder bean, BusWiringType type, String busName, org.springframework.beans.factory.xml.ParserContext ctx)
    • mapElementToJaxbProperty

      protected void mapElementToJaxbProperty(Element parent, org.springframework.beans.factory.support.BeanDefinitionBuilder bean, QName name, String propertyName)
    • mapElementToJaxbProperty

      protected void mapElementToJaxbProperty(Element parent, org.springframework.beans.factory.support.BeanDefinitionBuilder bean, QName name, String propertyName, Class<?> c)
    • mapElementToJaxbProperty

      protected void mapElementToJaxbProperty(Element data, org.springframework.beans.factory.support.BeanDefinitionBuilder bean, String propertyName, Class<?> c)
    • mapElementToJaxbPropertyFactory

      public void mapElementToJaxbPropertyFactory(Element data, org.springframework.beans.factory.support.BeanDefinitionBuilder bean, String propertyName, Class<?> type, Class<?> factory, String method, Object... args)
    • mapElementToJaxbBean

      public org.springframework.beans.factory.support.AbstractBeanDefinition mapElementToJaxbBean(Element data, Class<?> cls, Class<?> factory, String method, Object... args)
    • mapElementToJaxbBean

      public org.springframework.beans.factory.support.AbstractBeanDefinition mapElementToJaxbBean(Element data, Class<?> cls, Class<?> factory, Class<?> jaxbClass, String method, Object... args)
    • unmarshalFactoryString

      protected static <T> T unmarshalFactoryString(String s, jakarta.xml.bind.JAXBContext ctx, Class<T> cls)
    • getJaxbPackage

      protected String getJaxbPackage()
    • mapToProperty

      protected void mapToProperty(org.springframework.beans.factory.support.BeanDefinitionBuilder bean, String propertyName, String val)
    • isAttribute

      protected boolean isAttribute(String pre, String name)
    • parseQName

      protected QName parseQName(Element element, String t)
    • getIdOrName

      protected String getIdOrName(Element elem)