Class AbstractElementClassBase
java.lang.Object
org.x4o.xml.element.AbstractElementMetaBase
org.x4o.xml.element.AbstractElementClassBase
- All Implemented Interfaces:
ElementClassBase
,ElementMetaBase
- Direct Known Subclasses:
AbstractElementClass
,AbstractElementInterface
public abstract class AbstractElementClassBase
extends AbstractElementMetaBase
implements ElementClassBase
AbstractElementClassBase provides basic element meta class support.
- Version:
- 1.0 Jan 19, 2012
- Author:
- Willem Cazander
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addElementClassAttribute
(ElementClassAttribute elementClassAttribute) void
addElementConfigurators
(ElementConfigurator elementConfigurator) void
addElementParent
(String namespaceUri, String tag) Adds parent tag.getElementClassAttributeByName
(String attributeName) Get the ElementClassAttribute from its name.Returns a list of ElementConfigurators.getElementParents
(String namespaceUri) Returns the parent per namespace uri.void
removeElementParent
(String namespaceUri, String tag) Removes parent tag.Methods inherited from class org.x4o.xml.element.AbstractElementMetaBase
getDescription, getId, setDescription, setId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.x4o.xml.element.ElementMetaBase
getDescription, getId, setDescription, setId
-
Constructor Details
-
AbstractElementClassBase
public AbstractElementClassBase()Creates a AbstractElementClassBase.
-
-
Method Details
-
getElementConfigurators
Returns a list of ElementConfigurators.- Specified by:
getElementConfigurators
in interfaceElementClassBase
- Returns:
- List of ElementConfigurators.
- See Also:
-
addElementConfigurators
- Specified by:
addElementConfigurators
in interfaceElementClassBase
- Parameters:
elementConfigurator
- The ElementConfigurator to add.- See Also:
-
addElementClassAttribute
- Specified by:
addElementClassAttribute
in interfaceElementClassBase
- Parameters:
elementClassAttribute
- The ElementClassAttribute to add.
-
getElementClassAttributes
- Specified by:
getElementClassAttributes
in interfaceElementClassBase
- Returns:
- All the element attributes.
-
getElementClassAttributeByName
Get the ElementClassAttribute from its name.- Specified by:
getElementClassAttributeByName
in interfaceElementClassBase
- Parameters:
attributeName
- The attribute name.- Returns:
- The element class attribute for the name.
-
addElementParent
Adds parent tag.- Specified by:
addElementParent
in interfaceElementClassBase
- Parameters:
namespaceUri
- The namespace uri of the parent tag.tag
- The tag of the parent of this tag.- See Also:
-
removeElementParent
Removes parent tag.- Specified by:
removeElementParent
in interfaceElementClassBase
- Parameters:
namespaceUri
- The namespace uri of the parent tag.tag
- The tag of the parent of this tag.- See Also:
-
getElementParents
Returns the parent per namespace uri.- Specified by:
getElementParents
in interfaceElementClassBase
- Parameters:
namespaceUri
- The namespace uri to gets the parents of.- Returns:
- List of parent tags of requested parent namespace uri.
- See Also:
-