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, writeStartElement
public Token getProtectionToken()
public void setProtectionToken(Token protectionToken)
protectionToken
- The protectionToken to set.public void setToken(Token tok)
setToken
in interface TokenWrapper
public QName getName()
getName
in interface org.apache.neethi.Assertion
public org.apache.neethi.PolicyComponent normalize()
normalize
in interface org.apache.neethi.Assertion
normalize
in class AbstractSecurityAssertion
public void serialize(javax.xml.stream.XMLStreamWriter writer) throws javax.xml.stream.XMLStreamException
serialize
in interface org.apache.neethi.Assertion
serialize
in interface org.apache.neethi.PolicyComponent
javax.xml.stream.XMLStreamException
Copyright © Apache Software Foundation. All Rights Reserved.