|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.globalmentor.collections.ReadWriteLockDecorator
com.globalmentor.urf.AbstractURFScope
com.globalmentor.urf.DefaultURFResource
com.globalmentor.urf.AbstractClassTypedURFResource
com.guiseframework.theme.Template
public class Template
An application template of a rule.
| Field Summary |
|---|
| Fields inherited from interface com.globalmentor.net.Resource |
|---|
URI_PROPERTY_NAME |
| Constructor Summary | |
|---|---|
Template()
Default constructor. |
|
Template(java.net.URI referenceURI)
Reference URI constructor. |
|
| Method Summary | |
|---|---|
void |
apply(java.lang.Object object,
com.globalmentor.urf.ploop.PLOOPURFProcessor ploopProcessor)
Applies this template to a given object. |
| Methods inherited from class com.globalmentor.urf.DefaultURFResource |
|---|
addType, addTypeURI, alter, determineLabel, equals, getLabel, getName, getType, getTypes, getTypeURI, getURI, hashCode, hasTypeURI, setLabel, setName, setURI, toString |
| Methods inherited from class com.globalmentor.urf.AbstractURFScope |
|---|
addAllProperties, addProperty, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, getCreationOrder, getNamespaceProperties, getOrder, getParentScope, getProperties, getProperties, getPropertyCount, getPropertyURIs, getPropertyValue, getPropertyValueContext, getPropertyValueContext, getPropertyValueContexts, getPropertyValueCount, getPropertyValueCount, getPropertyValues, getPropertyValues, getPropertyValueURI, getScope, hasNamespaceProperty, hasProperties, hasProperty, hasProperty, hasPropertyValue, hasPropertyValueURI, removeNamespacePropertyValues, removeProperties, removeProperty, removePropertyValue, removePropertyValues, setOrderedPropertyValues, setOrderedPropertyValues, setOrderedPropertyValues, setOrderedPropertyValues, setProperty, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValues, setPropertyValues, setPropertyValues, setPropertyValues, setPropertyValues, setPropertyValues |
| Methods inherited from class com.globalmentor.collections.ReadWriteLockDecorator |
|---|
readLock, writeLock |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.globalmentor.urf.URFScope |
|---|
addAllProperties, addProperty, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, getCreationOrder, getNamespaceProperties, getOrder, getParentScope, getProperties, getProperties, getPropertyCount, getPropertyURIs, getPropertyValue, getPropertyValueContext, getPropertyValueContext, getPropertyValueContexts, getPropertyValueCount, getPropertyValueCount, getPropertyValues, getPropertyValues, getPropertyValueURI, getScope, hasNamespaceProperty, hasProperties, hasProperty, hasProperty, hasPropertyValue, hasPropertyValueURI, removeNamespacePropertyValues, removeProperties, removeProperty, removePropertyValue, removePropertyValues, setOrderedPropertyValues, setOrderedPropertyValues, setOrderedPropertyValues, setOrderedPropertyValues, setProperty, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValues, setPropertyValues, setPropertyValues, setPropertyValues, setPropertyValues |
| Methods inherited from interface java.util.concurrent.locks.ReadWriteLock |
|---|
readLock, writeLock |
| Constructor Detail |
|---|
public Template()
public Template(java.net.URI referenceURI)
referenceURI - The reference URI for the new resource.| Method Detail |
|---|
public void apply(java.lang.Object object,
com.globalmentor.urf.ploop.PLOOPURFProcessor ploopProcessor)
throws com.globalmentor.util.DataException,
java.lang.reflect.InvocationTargetException
object - The object to which this template will be applied.ploopProcessor - The PLOOP processor for setting object properties.
java.lang.NullPointerException - if the given object and/or PLOOP processor is null.
com.globalmentor.util.DataException - if a resource is a Java-typed resource the class of which cannot be found.
com.globalmentor.util.DataException - if a particular value is not an appropriate argument for the corresponding property.
com.globalmentor.util.DataException - If a particular property could not be accessed.
java.lang.reflect.InvocationTargetException - if a resource indicates a Java class the constructor of which throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||