프로퍼티 | 타입 | 설명 | |
---|---|---|---|
ID_ATTRIBUTE | string |
메소드 | 설명 | |
---|---|---|
ParseElement ( |
Parse the specified XmlElement and register the resulting ObjectDefinitions with the ParserContext.Registry IObjectDefinitionRegistry embedded in the supplied ParserContext This method is never invoked if the parser is namespace aware and was called to process the root node. |
메소드 | 설명 | |
---|---|---|
GetAttributeValue ( |
Returns the value of the element's attribute or This is a helper for bypassing the behavior of XmlElement.GetAttribute(string) to return string.Empty if the attribute does not exist. |
|
GetAttributeValue ( |
Returns the value of the element's attribute or defaultValue, if the attribute is not specified. This is a helper for bypassing the behavior of XmlElement.GetAttribute(string) to return string.Empty if the attribute does not exist. |
|
ParseInternal ( |
Central template method to actually parse the supplied XmlElement into one or more IObjectDefinitions.
|
|
RegisterObjectDefinition ( Spring.Objects.Factory.Config.ObjectDefinitionHolder definition, IObjectDefinitionRegistry registry ) : void |
Registers the supplied ObjectDefinitionHolder with the supplied IObjectDefinitionRegistry. Subclasses can override this method to control whether or not the supplied ObjectDefinitionHolder is actually even registered, or to register even more objects. The default implementation registers the supplied ObjectDefinitionHolder with the supplied ObjectDefinitionHolder only if the |
|
ResolveId ( |
Resolves the ID for the supplied IObjectDefinition. When using ShouldGenerateId generation, a name is generated automatically. Otherwise, the ID is extracted from the "id" attribute, potentially with a ShouldGenerateIdAsFallback fallback to a generated id. |
protected static GetAttributeValue ( |
||
element | ||
attributeName | string | |
리턴 | string |
protected static GetAttributeValue ( |
||
element | ||
attributeName | string | |
defaultValue | string | |
리턴 | string |
public ParseElement ( |
||
element | The element to be parsed. | |
parserContext | The object encapsulating the current state of the parsing process. /// Provides access to a IObjectDefinitionRegistry | |
리턴 | IObjectDefinition |
protected abstract ParseInternal ( |
||
element | The element that is to be parsed into one or more |
|
parserContext | The the object encapsulating the current state of the parsing process;
/// provides access to a |
|
리턴 |
protected RegisterObjectDefinition ( Spring.Objects.Factory.Config.ObjectDefinitionHolder definition, IObjectDefinitionRegistry registry ) : void | ||
definition | Spring.Objects.Factory.Config.ObjectDefinitionHolder | The object definition to be registered. |
registry | IObjectDefinitionRegistry | The registry that the bean is to be registered with. |
리턴 | void |
protected ResolveId ( |
||
element | The element that the object definition has been built from. | |
definition | The object definition to be registered. | |
parserContext | The the object encapsulating the current state of the parsing process;
/// provides access to a |
|
리턴 | string |