|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object eu.monnetproject.lemon.liam.impl.VirtualForm
public class VirtualForm
Constructor Summary | |
---|---|
VirtualForm()
|
Method Summary | |
---|---|
boolean |
addAnnotation(URI uri,
Object o)
Add an annotation to this element |
boolean |
addFormVariant(FormVariant fv,
LexicalForm lf)
Add a variant of this form |
boolean |
addProperty(Property prprt,
PropertyValue pv)
Add a property to this element |
boolean |
addRepresentation(Representation r,
Text text)
Add an alternative representation of the form |
void |
addType(URI uri)
Add a type to this element |
Map<URI,Collection<Object>> |
getAnnotations()
Get any annotations for this element |
Collection<Object> |
getAnnotations(URI uri)
Get the set of annotations for this property |
Collection<LexicalForm> |
getFormVariant(FormVariant fv)
Get a particular variant set of this form |
Map<FormVariant,Collection<LexicalForm>> |
getFormVariants()
Get any variants of this form |
String |
getID()
Get the blank node ID for this node or null if this is a named node |
Collection<PropertyValue> |
getProperty(Property prprt)
Get the set of values for a property |
Map<Property,Collection<PropertyValue>> |
getPropertys()
Get any properties of this element |
Collection<Text> |
getRepresentation(Representation r)
Get a particular set of representations of the form |
Map<Representation,Collection<Text>> |
getRepresentations()
Get the alternative representations of the form |
Collection<URI> |
getTypes()
Get any types of the element |
URI |
getURI()
The URI for this element or null if the element is a blank node |
Text |
getWrittenRep()
Get the primary written representation of the form |
boolean |
removeAnnotation(URI uri,
Object o)
Remove an annotation from this element |
boolean |
removeFormVariant(FormVariant fv,
LexicalForm lf)
Remove a variant of this form |
boolean |
removeProperty(Property prprt,
PropertyValue pv)
Remove a property from this element |
boolean |
removeRepresentation(Representation r,
Text text)
Remove an alternative representation of the form |
void |
removeType(URI uri)
Remove a type from this element |
void |
setWrittenRep(Text text)
Set the primary written representation of the form |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VirtualForm()
Method Detail |
---|
public Text getWrittenRep()
LexicalForm
getWrittenRep
in interface LexicalForm
public void setWrittenRep(Text text)
LexicalForm
setWrittenRep
in interface LexicalForm
public Map<Representation,Collection<Text>> getRepresentations()
LexicalForm
getRepresentations
in interface LexicalForm
public Collection<Text> getRepresentation(Representation r)
LexicalForm
getRepresentation
in interface LexicalForm
public boolean addRepresentation(Representation r, Text text)
LexicalForm
addRepresentation
in interface LexicalForm
public boolean removeRepresentation(Representation r, Text text)
LexicalForm
removeRepresentation
in interface LexicalForm
public Map<FormVariant,Collection<LexicalForm>> getFormVariants()
LexicalForm
getFormVariants
in interface LexicalForm
public Collection<LexicalForm> getFormVariant(FormVariant fv)
LexicalForm
getFormVariant
in interface LexicalForm
public boolean addFormVariant(FormVariant fv, LexicalForm lf)
LexicalForm
addFormVariant
in interface LexicalForm
public boolean removeFormVariant(FormVariant fv, LexicalForm lf)
LexicalForm
removeFormVariant
in interface LexicalForm
public Map<Property,Collection<PropertyValue>> getPropertys()
LemonElement
getPropertys
in interface LemonElement
public Collection<PropertyValue> getProperty(Property prprt)
LemonElement
getProperty
in interface LemonElement
public boolean addProperty(Property prprt, PropertyValue pv)
LemonElement
addProperty
in interface LemonElement
public boolean removeProperty(Property prprt, PropertyValue pv)
LemonElement
removeProperty
in interface LemonElement
public String getID()
LemonElement
null
if this is a named node
getID
in interface LemonElement
public Collection<URI> getTypes()
LemonElement
getTypes
in interface LemonElement
public void addType(URI uri)
LemonElement
addType
in interface LemonElement
public void removeType(URI uri)
LemonElement
removeType
in interface LemonElement
public URI getURI()
LemonElementOrPredicate
null
if the element is a blank node
getURI
in interface LemonElementOrPredicate
public Map<URI,Collection<Object>> getAnnotations()
LemonElement
getAnnotations
in interface LemonElement
public Collection<Object> getAnnotations(URI uri)
LemonElement
getAnnotations
in interface LemonElement
public boolean addAnnotation(URI uri, Object o)
LemonElement
addAnnotation
in interface LemonElement
uri
- The annotation propertyo
- Either a java.net.URI, java.lang.String (blank nodes) or eu.monnetproject.lemon.model.Text
public boolean removeAnnotation(URI uri, Object o)
LemonElement
removeAnnotation
in interface LemonElement
uri
- The annotation propertyo
- Either a java.net.URI, java.lang.String (blank nodes) or eu.monnetproject.lemon.model.Text
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |