public abstract class FormElement extends FinalizedResource
Modifier and Type | Field and Description |
---|---|
static String |
PROP_APPEARANCE
FormElements may have Recommendations.
|
ANON_URI_PREFIX, blockAddingTypes, isXMLLiteral, NAMESPACE_PREFIX, ns_delim_index, PROP_INVOLVED_HUMAN_USER, 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, props, RDF_EMPTY_LIST, RDF_NAMESPACE, RDFS_NAMESPACE, SERVICE_NAMESPACE, TYPE_RDF_LIST, TYPE_RDFS_CLASS, uri, VOCABULARY_NAMESPACE
Constructor and Description |
---|
FormElement() |
FormElement(boolean isXMLLiteral) |
FormElement(String uri) |
FormElement(String uri,
boolean isXMLLiteral) |
FormElement(String uriPrefix,
int numProps) |
Modifier and Type | Method and Description |
---|---|
void |
addAppearanceRecommendation(Recommendation recommendation)
Convenience method to add an Appearance recommendation, see
ont.recommendation for the definition of possible recommendations.
|
List |
getAppearanceRecommendations()
Intended to be used by handlers, to iterate over the recommendations
added to the FormElement.
|
addType, getLocalName, getNamespace, getProperty, getPropertyURIs, getType, getTypes, getURI, hasQualifiedName, isAnon, numberOfProperties
addMultiLangProp, asList, asList, asRDFList, changeProperty, copy, deepCopy, equals, generateAnonURI, getDefaultLang, getFilename, getMultiLangProp, getOrConstructLabel, getOrConstructLabel, getPropSerializationType, getResource, getResourceComment, getResourceLabel, getResourceLabel, getStaticFieldValue, hashCode, hasProperty, isAnon, isBlockingAddingTypes, isClosedCollection, isQualifiedName, isWellFormed, literal, representsQualifiedURI, serializesAsXMLLiteral, setProperty, setPropertyPath, setPropertyPath, setPropertyPathFromOffset, setResourceComment, setResourceLabel, toString, toStringRecursive, toStringRecursive, unliteral
public static final String PROP_APPEARANCE
public FormElement()
public FormElement(boolean isXMLLiteral)
isXMLLiteral
- public FormElement(String uri, boolean isXMLLiteral)
uri
- isXMLLiteral
- public FormElement(String uriPrefix, int numProps)
uriPrefix
- numProps
- public FormElement(String uri)
uri
- public void addAppearanceRecommendation(Recommendation recommendation)
recommendation
- the Recommendation
instance to add.public List getAppearanceRecommendations()
Recommendation
s, that is empty if none are
present.Copyright © 2018 universAAL Consortium. All rights reserved.