com.sun.xml.ws.security.opt.impl.incoming
Class GenericSecuredHeader
java.lang.Object
com.sun.xml.ws.message.AbstractHeaderImpl
com.sun.xml.ws.security.opt.impl.incoming.GenericSecuredHeader
- All Implemented Interfaces:
- com.sun.xml.ws.api.message.Header, NamespaceContextInfo, SecuredHeader
public class GenericSecuredHeader
- extends com.sun.xml.ws.message.AbstractHeaderImpl
- implements SecuredHeader, NamespaceContextInfo
- Author:
- K.Venugopal@sun.com
| Fields inherited from class com.sun.xml.ws.message.AbstractHeaderImpl |
EMPTY_ATTS |
| Methods inherited from class com.sun.xml.ws.message.AbstractHeaderImpl |
getAttribute, parseBool, readAsEPR, readAsJAXB, readAsJAXB |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericSecuredHeader
public GenericSecuredHeader(XMLStreamReader reader,
com.sun.xml.ws.api.SOAPVersion soapVersion,
com.sun.xml.stream.buffer.stax.StreamReaderBufferCreator creator,
HashMap nsDecl,
XMLInputFactory staxIF,
boolean encHeaderContent)
throws com.sun.xml.stream.buffer.XMLStreamBufferException,
XMLStreamException
- Throws:
com.sun.xml.stream.buffer.XMLStreamBufferException
XMLStreamException
hasEncData
public boolean hasEncData()
hasID
public boolean hasID(String id)
- Specified by:
hasID in interface SecuredHeader
- Parameters:
id - true if the SecuredHeader refers to id.
- Returns:
isIgnorable
public final boolean isIgnorable(com.sun.xml.ws.api.SOAPVersion soapVersion,
Set<String> roles)
- Specified by:
isIgnorable in interface com.sun.xml.ws.api.message.Header- Overrides:
isIgnorable in class com.sun.xml.ws.message.AbstractHeaderImpl
getRole
public String getRole(com.sun.xml.ws.api.SOAPVersion soapVersion)
- Specified by:
getRole in interface com.sun.xml.ws.api.message.Header- Overrides:
getRole in class com.sun.xml.ws.message.AbstractHeaderImpl
isRelay
public boolean isRelay()
- Specified by:
isRelay in interface com.sun.xml.ws.api.message.Header- Overrides:
isRelay in class com.sun.xml.ws.message.AbstractHeaderImpl
getNamespaceURI
public String getNamespaceURI()
- Specified by:
getNamespaceURI in interface com.sun.xml.ws.api.message.Header
getLocalPart
public String getLocalPart()
- Specified by:
getLocalPart in interface com.sun.xml.ws.api.message.Header
getAttribute
public String getAttribute(String nsUri,
String localName)
- Specified by:
getAttribute in interface com.sun.xml.ws.api.message.Header
readHeader
public XMLStreamReader readHeader()
throws XMLStreamException
- Reads the header as a
XMLStreamReader
- Specified by:
readHeader in interface com.sun.xml.ws.api.message.Header
- Throws:
XMLStreamException
writeTo
public void writeTo(XMLStreamWriter w)
throws XMLStreamException
- Specified by:
writeTo in interface com.sun.xml.ws.api.message.Header
- Throws:
XMLStreamException
writeTo
public void writeTo(SOAPMessage saaj)
throws SOAPException
- Specified by:
writeTo in interface com.sun.xml.ws.api.message.Header
- Throws:
SOAPException
writeTo
public void writeTo(ContentHandler contentHandler,
ErrorHandler errorHandler)
throws SAXException
- Specified by:
writeTo in interface com.sun.xml.ws.api.message.Header
- Throws:
SAXException
getStringContent
public String getStringContent()
- Specified by:
getStringContent in interface com.sun.xml.ws.api.message.Header- Overrides:
getStringContent in class com.sun.xml.ws.message.AbstractHeaderImpl
readAsJAXB
public <T> T readAsJAXB(Unmarshaller um)
throws JAXBException
- Specified by:
readAsJAXB in interface com.sun.xml.ws.api.message.Header- Overrides:
readAsJAXB in class com.sun.xml.ws.message.AbstractHeaderImpl
- Throws:
JAXBException
readAsJAXB
public <T> T readAsJAXB(com.sun.xml.bind.api.Bridge<T> bridge)
throws JAXBException
- Specified by:
readAsJAXB in interface com.sun.xml.ws.api.message.Header- Overrides:
readAsJAXB in class com.sun.xml.ws.message.AbstractHeaderImpl
- Throws:
JAXBException
getInscopeNSContext
public HashMap<String,String> getInscopeNSContext()
- Description copied from interface:
NamespaceContextInfo
- map of all inscope namespace declarations.
- Specified by:
getInscopeNSContext in interface NamespaceContextInfo
- Returns:
HashMap of all inscope namespaces.
Copyright © 2005-2014 Oracle Corporation. All Rights Reserved.