|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.systinet.wasp.policy.PolicyElement
org.systinet.wasp.policy.PolicyCompositor
This class represents policy compositor.
| Constructor Summary | |
PolicyCompositor()
|
|
| Method Summary | |
void |
add(PolicyElement element)
Adds given element to this compositor. |
abstract javax.xml.transform.Source |
getContent()
Gets the content of this object as Source |
PolicyElement[] |
getElements()
Gets the child elements of this compositor. |
java.lang.String |
getId()
Gets the compositor Id. |
void |
remove(PolicyElement element)
Removes given element from this compositor and sets parent of given element to null. |
void |
setId(java.lang.String id)
Sets the compositor Id. |
| Methods inherited from class org.systinet.wasp.policy.PolicyElement |
getParentElement, getPreference, getUsage, readStandardAttributes, setParentElement, setPreference, setUsage, writeStandardAttributes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PolicyCompositor()
| Method Detail |
public java.lang.String getId()
public void setId(java.lang.String id)
id - compositor Id
public void add(PolicyElement element)
throws PolicyException
element - child element to add
PolicyException - when the given element has already set other parentpublic void remove(PolicyElement element)
null.
element - child element to removepublic PolicyElement[] getElements()
public abstract javax.xml.transform.Source getContent()
throws PolicyException
Source
getContent in class PolicyElementSource
PolicyException - when an error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||