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 TypeMethodDescriptionvoidaddElementClassAttribute(ElementClassAttribute elementClassAttribute) voidaddElementConfigurators(ElementConfigurator elementConfigurator) voidaddElementParent(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.voidremoveElementParent(String namespaceUri, String tag) Removes parent tag.Methods inherited from class AbstractElementMetaBase
getDescription, getId, setDescription, setIdMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ElementMetaBase
getDescription, getId, setDescription, setId
-
Constructor Details
-
AbstractElementClassBase
public AbstractElementClassBase()Creates a AbstractElementClassBase.
-
-
Method Details
-
getElementConfigurators
Returns a list of ElementConfigurators.- Specified by:
getElementConfiguratorsin interfaceElementClassBase- Returns:
- List of ElementConfigurators.
- See Also:
-
addElementConfigurators
- Specified by:
addElementConfiguratorsin interfaceElementClassBase- Parameters:
elementConfigurator- The ElementConfigurator to add.- See Also:
-
addElementClassAttribute
- Specified by:
addElementClassAttributein interfaceElementClassBase- Parameters:
elementClassAttribute- The ElementClassAttribute to add.
-
getElementClassAttributes
- Specified by:
getElementClassAttributesin interfaceElementClassBase- Returns:
- All the element attributes.
-
getElementClassAttributeByName
Get the ElementClassAttribute from its name.- Specified by:
getElementClassAttributeByNamein interfaceElementClassBase- Parameters:
attributeName- The attribute name.- Returns:
- The element class attribute for the name.
-
addElementParent
Adds parent tag.- Specified by:
addElementParentin 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:
removeElementParentin 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:
getElementParentsin interfaceElementClassBase- Parameters:
namespaceUri- The namespace uri to gets the parents of.- Returns:
- List of parent tags of requested parent namespace uri.
- See Also:
-