|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wvcm.model.PropertyDescriptor
public class PropertyDescriptor
Property Descriptor
Method Summary | |
---|---|
java.lang.Class |
basetype()
Get the basetype |
java.lang.Object |
basetypeInstance(Location location)
Create instance for the base type. |
java.lang.Class |
collectiontype()
Get the collectiontype |
java.util.Collection |
collectiontypeInstance()
Create collection instance for multi-valued properties. |
static PropertyDescriptor |
getInstance(PropertyNameList.AttributeName attributeName,
org.jdom.Element propertyElm)
Create an instance of this class for the specified attribute value. |
static PropertyDescriptor |
getInstance(PropertyNameList.PropertyName propertyName)
Get an instance of this class. |
boolean |
isHref()
Return true, if the property is a href property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static PropertyDescriptor getInstance(PropertyNameList.PropertyName propertyName)
propertyName
- a PropertyName
public static PropertyDescriptor getInstance(PropertyNameList.AttributeName attributeName, org.jdom.Element propertyElm)
attributeName
- an AttributeNamepropertyElm
- a property element
public java.lang.Class basetype()
public java.lang.Class collectiontype()
public boolean isHref()
public java.lang.Object basetypeInstance(Location location) throws WvcmException
location
- the location of the resource
WvcmException
public java.util.Collection collectiontypeInstance() throws WvcmException
WvcmException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |