public class SimpleOutput extends Output
Output
control containing info in form of plain text or
another simple type supported by
TypeMapper
.Modifier and Type | Field and Description |
---|---|
static String |
MY_URI |
static String |
PROP_CONTENT
For local storage of the contained info if this info is not accessible
from the form data.
|
PROP_CONTROL_LABEL, PROP_HELP, PROP_HINT, PROP_PARENT_CONTROL, PROP_REFERENCED_PPATH, PROP_VALUE_RESTRICTION
PROP_APPEARANCE
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 |
---|
SimpleOutput()
For exclusive use by de-serializers.
|
SimpleOutput(Group parent,
Label label,
PropertyPath ref,
Object content)
For exclusive use by applications.
|
Modifier and Type | Method and Description |
---|---|
Object |
getContent()
Returns the contained info as an instance of one of the classes supported
by
TypeMapper . |
Object |
getValue()
Overrides
FormControl.getValue() in order to additionally
consider the local storage using PROP_CONTENT . |
boolean |
setProperty(String propURI,
Object value)
For usage by de-serializers.
|
getAncestorRepeat, getFormObject, getHelpString, getHintString, getLabel, getMaxLength, getParentGroup, getParentRepeat, getReferencedPPath, getRestrictions, getSuperGroups, getTypeURI, hasFocus, hasValue, isOfBooleanType, isOfPrimitiveType, isRepeatable, setHelpString, setHintString, toString
addAppearanceRecommendation, getAppearanceRecommendations
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, setPropertyPath, setPropertyPath, setPropertyPathFromOffset, setResourceComment, setResourceLabel, toStringRecursive, toStringRecursive, unliteral
public static final String MY_URI
public static final String PROP_CONTENT
public SimpleOutput()
public SimpleOutput(Group parent, Label label, PropertyPath ref, Object content)
parent
- The mandatory parent group as the direct container of this
input field. See FormControl.PROP_PARENT_CONTROL
.label
- The optional Label
to be associated with this input
field. See FormControl.PROP_CONTROL_LABEL
.ref
- See FormControl.PROP_REFERENCED_PPATH
; optional.content
- The contained info. If the previous parameter (
ref
) is not null, it will be stored as part of
the form data, otherwise locally using PROP_CONTENT
.public Object getContent()
TypeMapper
.public Object getValue()
FormControl.getValue()
in order to additionally
consider the local storage using PROP_CONTENT
.getValue
in class FormControl
public boolean setProperty(String propURI, Object value)
setProperty
in class FormControl
Resource.setProperty(String, Object)
Copyright © 2018 universAAL Consortium. All rights reserved.