|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.w3c.tools.resources.serialization.ResourceDescription
public class ResourceDescription
Constructor Summary | |
---|---|
ResourceDescription(Resource resource)
Constructor. |
|
ResourceDescription(java.lang.String classname)
Constructor. |
Method Summary | |
---|---|
AttributeDescription[] |
getAttributeDescriptions()
Get the attributes description. |
java.lang.String[] |
getChildren()
get the children identifiers |
java.lang.String[] |
getClassesAndInterfaces()
|
java.lang.String[] |
getClassHierarchy()
Get this resource class hierarchy. |
java.lang.String |
getClassName()
Get the resource Class name. |
ResourceDescription |
getClone(AttributeDescription[] attrs)
Get a clone of this resource description but with only the given list of attribute descriptions. |
ResourceDescription[] |
getFrameDescriptions()
Get the description of the frames associated to this resource. |
java.lang.String |
getIdentifier()
Get the resource identifier. |
java.lang.String[] |
getInterfaces()
Get this resource interfaces |
void |
setAttributeDescriptions(java.util.Vector attrs)
Set the attributes description of the resource |
void |
setChildren(java.lang.String[] children)
Set the children names. |
void |
setClassHierarchy(java.lang.String[] classes)
Set the resource class hierarchy. |
void |
setClassHierarchy(java.util.Vector vclasses)
Set the resource class hierarchy. |
void |
setInterfaces(java.lang.String[] interfaces)
Set the resource class hierarchy. |
void |
setInterfaces(java.util.Vector vinterfaces)
Set the resource class hierarchy. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceDescription(Resource resource)
resource
- the resource to describe.public ResourceDescription(java.lang.String classname)
classname
- the resource class nameMethod Detail |
---|
public ResourceDescription getClone(AttributeDescription[] attrs)
attrs
- the new attribute descriptions
public java.lang.String[] getClassHierarchy()
public java.lang.String[] getInterfaces()
public java.lang.String[] getClassesAndInterfaces()
public java.lang.String getClassName()
public java.lang.String getIdentifier()
public java.lang.String[] getChildren()
public void setChildren(java.lang.String[] children)
a
- String arraypublic AttributeDescription[] getAttributeDescriptions()
AttributeDescription
public ResourceDescription[] getFrameDescriptions()
public void setAttributeDescriptions(java.util.Vector attrs)
a
- Vector of AttributeDescription instancespublic void setClassHierarchy(java.lang.String[] classes)
a
- String arraypublic void setInterfaces(java.lang.String[] interfaces)
a
- String arraypublic void setClassHierarchy(java.util.Vector vclasses)
a
- Vector of String instancespublic void setInterfaces(java.util.Vector vinterfaces)
a
- Vector of String instances
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |