Package de.wwu.scdh.annotation.selection
Interface Component<T>
- All Known Implementing Classes:
RFC5147CharComponent,XPathComponent
public interface Component<T>
A
Point has one or multiple Components. Each
component has a type. This interface is for type-safe programming
with components of points.
E.g., an oa:XPathSelector has a XPath
component of type String; an oa:XPathSelector,
which is refined by a oa:FragmentSelector conforming
RFC5147's character scheme, has a XPath component of
type String and an RFC5147CHAR component of
type Integer.
-
Method Summary
-
Method Details
-
getType
Returns the type of component. -
getValue
T getValue()Returns the value of the component as type T.
-