|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.muse.ws.resource.metadata.OpenMetadataDescriptor
OpenMetadataDescriptor is a MetadataDescriptor that allows free reign on all properties, since no rules or restrictions have been put in place. This class is a singleton because an empty RMD is the same no matter what properties are defined.
Method Summary | |
---|---|
boolean |
canDelete(QName property)
|
boolean |
canInsert(QName property)
|
boolean |
canUpdate(QName property)
|
java.lang.String |
getExtendedMetadata(QName property,
QName elementName)
This method allows you to extend a wsrmd:Property definition and provide application-specific metadata for a property. |
java.util.Collection |
getInitialValues(QName property)
|
java.util.Collection |
getInitialValues(QName property,
java.lang.Class type)
|
static OpenMetadataDescriptor |
getInstance()
|
QName |
getInterface()
|
java.lang.String |
getLowerBound(QName property)
|
java.lang.String |
getName()
|
java.util.Collection |
getPropertyNames()
|
java.util.Collection |
getStaticValues(QName property)
|
java.util.Collection |
getStaticValues(QName property,
java.lang.Class type)
|
java.lang.String |
getUpperBound(QName property)
|
java.util.Collection |
getValidValues(QName property)
|
java.util.Collection |
getValidValues(QName property,
java.lang.Class type)
|
java.lang.String |
getWsdlLocation()
|
boolean |
hasProperty(QName property)
|
boolean |
isInitialValue(QName property,
java.lang.Object value)
|
boolean |
isReadOnlyExternal(QName property)
|
boolean |
isStaticValue(QName property,
java.lang.Object value)
|
boolean |
isValidValue(QName property,
java.lang.Object value)
|
org.w3c.dom.Element |
toXML()
Converts this object into an XML representation, as defined by its related schema or specification. |
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc)
Converts this object into an XML representation, as defined by its related schema or specification. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static OpenMetadataDescriptor getInstance()
public boolean canDelete(QName property)
canDelete
in interface MetadataDescriptor
property
-
public boolean canInsert(QName property)
canInsert
in interface MetadataDescriptor
property
-
public boolean canUpdate(QName property)
canUpdate
in interface MetadataDescriptor
property
-
public java.lang.String getExtendedMetadata(QName property, QName elementName)
MetadataDescriptor
getExtendedMetadata
in interface MetadataDescriptor
property
- elementName
- The name of the extended metadata item.
public java.util.Collection getInitialValues(QName property)
getInitialValues
in interface MetadataDescriptor
property
-
MetadataDescriptor.getInitialValues(QName, Class)
public java.util.Collection getInitialValues(QName property, java.lang.Class type)
getInitialValues
in interface MetadataDescriptor
property
- type
- The type whose serializer should be used to convert the
property values (DOM Elements) into POJOs.
MetadataDescriptor.getValidValues(QName)
public QName getInterface()
getInterface
in interface MetadataDescriptor
public java.lang.String getLowerBound(QName property)
getLowerBound
in interface MetadataDescriptor
property
-
public java.lang.String getName()
getName
in interface MetadataDescriptor
public java.util.Collection getPropertyNames()
getPropertyNames
in interface MetadataDescriptor
public java.util.Collection getStaticValues(QName property)
getStaticValues
in interface MetadataDescriptor
property
-
MetadataDescriptor.getStaticValues(QName, Class)
public java.util.Collection getStaticValues(QName property, java.lang.Class type)
getStaticValues
in interface MetadataDescriptor
property
- type
- The type whose serializer should be used to convert the
property values (DOM Elements) into POJOs.
MetadataDescriptor.getStaticValues(QName)
public java.lang.String getUpperBound(QName property)
getUpperBound
in interface MetadataDescriptor
property
-
public java.util.Collection getValidValues(QName property)
getValidValues
in interface MetadataDescriptor
property
-
MetadataDescriptor.getValidValues(QName, Class)
public java.util.Collection getValidValues(QName property, java.lang.Class type)
getValidValues
in interface MetadataDescriptor
property
- type
- The type whose serializer should be used to convert the
property values (DOM Elements) into POJOs.
MetadataDescriptor.getValidValues(QName)
public java.lang.String getWsdlLocation()
getWsdlLocation
in interface MetadataDescriptor
public boolean hasProperty(QName property)
hasProperty
in interface MetadataDescriptor
property
-
public boolean isInitialValue(QName property, java.lang.Object value)
isInitialValue
in interface MetadataDescriptor
property
- value
-
public boolean isReadOnlyExternal(QName property)
isReadOnlyExternal
in interface MetadataDescriptor
property
-
public boolean isStaticValue(QName property, java.lang.Object value)
isStaticValue
in interface MetadataDescriptor
property
- value
-
public boolean isValidValue(QName property, java.lang.Object value)
isValidValue
in interface MetadataDescriptor
property
- value
-
public org.w3c.dom.Element toXML()
XmlSerializable
toXML
in interface XmlSerializable
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc)
XmlSerializable
toXML
in interface XmlSerializable
doc
- The DOM Document that will be used to create all of the nodes
in the resulting XML fragment.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |