Enum Class Element.ElementType
- All Implemented Interfaces:
Serializable
,Comparable<Element.ElementType>
,Constable
- Enclosing interface:
Element
The ElementTypes which are possible.
- Version:
- 1.0 Feb 01, 2005
- Author:
- Willem Cazander
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionExtra meta characters in xml.The xml comments in xml.The normale ElementType, which is mostly bound to an object.ignorableWhitespace in xml.Receive raw sax event on elementObject. -
Method Summary
Modifier and TypeMethodDescriptionfilterElements
(List<Element> elements, Element.ElementType elementType) Filters the given elments list to elementType.static Element.ElementType
Returns the enum constant of this class with the specified name.static Element.ElementType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
element
The normale ElementType, which is mostly bound to an object. -
characters
Extra meta characters in xml. -
comment
The xml comments in xml. -
ignorableWhitespace
ignorableWhitespace in xml. -
overrideSax
Receive raw sax event on elementObject.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
filterElements
Filters the given elments list to elementType.- Parameters:
elements
- The elements to filter.elementType
- The elementType to filter on.- Returns:
- Always returns List of Elements of filter type.
-