org.universAAL.middleware.ui.rdf
Class FormElement
java.lang.Object
org.universAAL.middleware.rdf.Resource
org.universAAL.middleware.rdf.FinalizedResource
org.universAAL.middleware.ui.rdf.FormElement
- Direct Known Subclasses:
- Form, FormControl, Label
public abstract class FormElement
- extends FinalizedResource
- Author:
- amedrano
Fields inherited from class org.universAAL.middleware.rdf.Resource |
ANON_URI_PREFIX, blockAddingTypes, isXMLLiteral, ns_delim_index, PROP_RDF_FIRST, PROP_RDF_REST, PROP_RDF_TYPE, PROP_RDFS_COMMENT, PROP_RDFS_LABEL, PROP_SERIALIZATION_FULL, PROP_SERIALIZATION_OPTIONAL, PROP_SERIALIZATION_REDUCED, PROP_SERIALIZATION_UNDEFINED, PROP_uAAL_INVOLVED_HUMAN_USER, props, RDF_EMPTY_LIST, RDF_NAMESPACE, RDFS_NAMESPACE, TYPE_RDF_LIST, TYPE_RDFS_CLASS, uAAL_NAMESPACE_PREFIX, uAAL_SERVICE_NAMESPACE, uAAL_VOCABULARY_NAMESPACE, uri |
Methods inherited from class org.universAAL.middleware.rdf.FinalizedResource |
addType, getLocalName, getNamespace, getProperty, getPropertyURIs, getType, getTypes, getURI, hasQualifiedName, isAnon, numberOfProperties |
Methods inherited from class org.universAAL.middleware.rdf.Resource |
addMultiLangProp, asList, asList, asRDFList, changeProperty, copy, deepCopy, equals, generateAnonURI, getDefaultLang, getFilename, getMultiLangProp, getOrConstructLabel, getPropSerializationType, getResource, getResourceComment, getResourceLabel, getStaticFieldValue, hashCode, hasProperty, isAnon, isBlockingAddingTypes, isClosedCollection, isQualifiedName, isWellFormed, literal, representsQualifiedURI, serializesAsXMLLiteral, setProperty, setPropertyPath, setPropertyPath, setPropertyPathFromOffset, setResourceComment, setResourceLabel, toString, toStringRecursive, toStringRecursive, unliteral |
PROP_APPEARANCE
public static final String PROP_APPEARANCE
- FormElements may have Recommendations.
- See Also:
- Constant Field Values
FormElement
public FormElement()
FormElement
public FormElement(boolean isXMLLiteral)
- Parameters:
isXMLLiteral
-
FormElement
public FormElement(String uri,
boolean isXMLLiteral)
- Parameters:
uri
- isXMLLiteral
-
FormElement
public FormElement(String uriPrefix,
int numProps)
- Parameters:
uriPrefix
- numProps
-
FormElement
public FormElement(String uri)
- Parameters:
uri
-
addAppearanceRecommendation
public void addAppearanceRecommendation(Recommendation recommendation)
- Convenience method to add an Appearance recommendation,
see ont.recommendation for the definition of possible recommendations.
It is not granted that the recommendation will be followed when rendered.
- Parameters:
recommendation
- the Recommendation
instance to add.
getAppearanceRecommendations
public List getAppearanceRecommendations()
- Intended to be used by handlers, to iterate over the recommendations added to the FormElement.
- Returns:
- the List of
Recommendation
s, that is empty if none are present.
Copyright © 2014 universAAL Consortium. All Rights Reserved.