public class OXPathExtractionMarker extends Object implements OXPathPredicate
Constructor and Description |
---|
OXPathExtractionMarker(String iLabel,
boolean isAtt)
basic constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addRdfType(String rdfType)
Adds a new RDFType
|
String |
getLabel()
returns the label for the extraction marker
|
Iterator<String> |
getRdfTypes() |
OXPathPredicateTypes |
getType()
returns the type of the predicate
|
boolean |
isAttribute()
returns
true if this is an attribute extraction marker, false in case this is a record extraction
marker |
void |
setAttribute(boolean isAttribute)
Sets the isAttribute property.
|
public OXPathExtractionMarker(String iLabel, boolean isAtt)
iLabel
- label for the extraction markerisAtt
- public String getLabel()
public boolean isAttribute()
true
if this is an attribute extraction marker, false
in case this is a record extraction
markertrue
if this is an attribute extraction marker, false
in case this is a record extraction
markerpublic void setAttribute(boolean isAttribute)
isAttribute
- the new isAttribute.public void addRdfType(String rdfType)
rdfType
- the RDFType to add.public OXPathPredicateTypes getType()
getType
in interface OXPathPredicate
Copyright © 2020 OXPath Team. All rights reserved.