|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.ac.AttributeValue issrg.ac.DistinctAttribute issrg.ac.attributes.PMIXMLPolicy
public class PMIXMLPolicy
This is the class for the PMI XML Policy attribute.
Field Summary | |
---|---|
static java.lang.String |
PMI_XML_POLICY_ATTRIBUTE_OID
This is the OID of the Attribute |
protected java.lang.String |
policy
|
Fields inherited from class issrg.ac.AttributeValue |
---|
data |
Constructor Summary | |
---|---|
protected |
PMIXMLPolicy()
|
|
PMIXMLPolicy(ASN1Object ao)
This constructor builds a PMIXMLPolicy given ASN1Object of its value. |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
void |
decode(ASN1Object ao)
This method decodes a given ASN1Object and sets the policy XML as the value of this ASN1Object. |
java.lang.String |
getPolicy()
Returns the XML of the Policy as a String. |
static void |
registerMe()
This method registers this class with the Attribute class, so it will automatically pick up the class for parsing PMI XML Policies. |
void |
setPolicy(java.lang.String policy)
Sets the XML of the Policy as a String. |
ASN1Object |
toASN1Object()
This method returns the ASN1Object of the PMIXMLPolicy attribute value. |
java.lang.String |
toString(int indent)
|
Methods inherited from class issrg.ac.DistinctAttribute |
---|
isDecoded |
Methods inherited from class issrg.ac.AttributeValue |
---|
getRawAttribute, toString, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PMI_XML_POLICY_ATTRIBUTE_OID
protected java.lang.String policy
Constructor Detail |
---|
protected PMIXMLPolicy()
public PMIXMLPolicy(ASN1Object ao) throws CodingException
ao
- - ASN1Object of the value of the PMIXMLPolicy attribute
CodingException
Method Detail |
---|
public static void registerMe()
public java.lang.String getPolicy()
public void setPolicy(java.lang.String policy)
public ASN1Object toASN1Object()
toASN1Object
in class AttributeValue
public void decode(ASN1Object ao) throws CodingException
decode
in class AttributeValue
ao
- - the ASN1Object; must be a UTF8String or PrintableString whose
value is the policy XML
CodingException
public java.lang.String toString(int indent)
public java.lang.Object clone()
clone
in class AttributeValue
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |