public class ProtectionToken extends AbstractSecurityAssertion implements TokenWrapper
version| Constructor and Description |
|---|
ProtectionToken(int version) |
| Modifier and Type | Method and Description |
|---|---|
QName |
getName() |
Token |
getProtectionToken() |
org.apache.neethi.PolicyComponent |
normalize() |
void |
serialize(javax.xml.stream.XMLStreamWriter writer) |
void |
setProtectionToken(Token protectionToken) |
void |
setToken(Token tok) |
equal, getType, getVersion, isIgnorable, isNormalized, isOptional, setIgnorable, setNormalized, setOptional, setVersion, writeAttribute, writeEmptyElement, writeStartElement, writeStartElementpublic Token getProtectionToken()
public void setProtectionToken(Token protectionToken)
protectionToken - The protectionToken to set.public void setToken(Token tok)
setToken in interface TokenWrapperpublic QName getName()
getName in interface org.apache.neethi.Assertionpublic org.apache.neethi.PolicyComponent normalize()
normalize in interface org.apache.neethi.Assertionnormalize in class AbstractSecurityAssertionpublic void serialize(javax.xml.stream.XMLStreamWriter writer) throws javax.xml.stream.XMLStreamException
serialize in interface org.apache.neethi.Assertionserialize in interface org.apache.neethi.PolicyComponentjavax.xml.stream.XMLStreamExceptionCopyright © Apache Software Foundation. All Rights Reserved.