|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An information extraction mapping Px -> (P1, P2, P3, ..., Pn)
.
There are quite a few instances of meta-data properties which contain composite literal
values or combine multiple semantical entities into a single named property and in turn
require further parsing to extract the individual sub-properties. For example:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
SoftwarePlaform/JavaPlatform
can contain both Configuration/CLDC-1.0
versus Profile/MIDP-2.0
thus combining Profile and Configuration under one UAProf attribute.
DeliveryContext
.
Semantically, this type of mapping can be replaced by a set of unary mappings.
Method Summary | |
Property |
getDomain()
Returns a domain of this mapping. |
Property[] |
getRange()
Returns an ordered list of properties which form a range of this mapping. |
java.lang.Object[] |
mapValue(java.lang.Object dom)
Executes the actual transformation - a mapping. |
Methods inherited from interface cz.cuni.versatile.api.relops.PropertyMapping |
getDomainSet, getRangeSet, getReverse, providesReverse |
Method Detail |
public Property getDomain()
public Property[] getRange()
public java.lang.Object[] mapValue(java.lang.Object dom)
dom
- a domain property value
getRange()
method)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |