|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 | |||||||||
public interface SOAPHeaderElement
SOAP 포락선의 SOAP 헤더부의 컨텐츠를 표현하는 객체입니다. SOAPHeader 객체의 직접적인 아이는,SOAPHeaderElement 객체로서의 보고 표현할 수 있습니다.
SOAPHeaderElement 객체는, 아이로서 다른 SOAPElement 만을 가질 수가 있습니다.
| 필드의 개요 |
|---|
| 메소드의 개요 | |
|---|---|
String |
getActor ()
이 SOAPHeaderElement 의 actor 속성의 URI 를 돌려줍니다. |
boolean |
getMustUnderstand ()
이 SOAPHeaderElement 의 mustUnderstand 속성의 boolean 치를 돌려줍니다. |
boolean |
getRelay ()
이 SOAPHeaderElement 의 relay 속성의 boolean 치를 돌려줍니다. |
String |
getRole ()
이 SOAPHeaderElement 의 Role 속성의 값을 돌려줍니다. |
void |
setActor (String actorURI)
이 SOAPHeaderElement 객체와 관련지을 수 있었던 엑터가 지정된 엑터로 설정합니다. |
void |
setMustUnderstand (boolean mustUnderstand)
이 SOAPHeaderElement 객체의 mustUnderstand 속성을, true 나 false 의 어딘가에 설정합니다. |
void |
setRelay (boolean relay)
이 SOAPHeaderElement 의 relay 속성을, true 나 false 의 어딘가에 설정합니다. |
void |
setRole (String uri)
이 SOAPHeaderElement 객체와 관련지을 수 있었던 Role 가 지정된 Role 로 설정합니다. |
| 인터페이스 javax.xml.soap. Node 로부터 상속된 메소드 |
|---|
detachNode , getParentElement , getValue , recycleNode , setParentElement , setValue |
| 인터페이스 org.w3c.dom. Element 로부터 상속된 메소드 |
|---|
getAttribute , getAttributeNode , getAttributeNodeNS , getAttributeNS , getElementsByTagName , getElementsByTagNameNS , getSchemaTypeInfo , getTagName , hasAttribute , hasAttributeNS , removeAttribute , removeAttributeNode , removeAttributeNS , setAttribute , setAttributeNode , setAttributeNodeNS , setAttributeNS , setIdAttribute , setIdAttributeNode , setIdAttributeNS |
| 인터페이스 org.w3c.dom. Node 로부터 상속된 메소드 |
|---|
appendChild , cloneNode , compareDocumentPosition , getAttributes , getBaseURI , getChildNodes , getFeature , getFirstChild , getLastChild , getLocalName , getNamespaceURI , getNextSibling , getNodeName , getNodeType , getNodeValue , getOwnerDocument , getParentNode , getPrefix , getPreviousSibling , getTextContent , getUserData , hasAttributes , hasChildNodes , insertBefore , isDefaultNamespace , isEqualNode , isSameNode , isSupported , lookupNamespaceURI , lookupPrefix , normalize , removeChild , replaceChild , setNodeValue , setPrefix , setTextContent , setUserData |
| 메소드의 상세 |
|---|
void setActor(String actorURI)
SOAPHeaderElement 객체와 관련지을 수 있었던 엑터가 지정된 엑터로 설정합니다. 엑터의 디폴트 값는,SOAPConstants.URI_SOAP_ACTOR_NEXT 입니다.
이 SOAPHeaderElement 가 SOAP 1.2 를 지원하는 경우, 이 호출은 setRole(String) 와 동일해집니다.
actorURI - 설정하는 엑터의 URI 를 나타낸다
String
IllegalArgumentException - 엑터의 설정시에
문제가 있는 경우getActor()
void setRole(String uri)
throws SOAPException
SOAPHeaderElement 객체와 관련지을 수 있었던 Role 가 지정된 Role 로 설정합니다.
uri - - Role 의 URI
SOAPException - 롤의 설정시에 에러가 발생하는 경우
UnsupportedOperationException - 이 메세지가, SOAP 1.2 의
Fault Role 의 개념을 지원하지 않는 경우String getActor()
SOAPHeaderElement 의 actor 속성의 URI 를 돌려줍니다.
이 SOAPHeaderElement 가 SOAP 1.2 를 지원하는 경우, 이 호출은 getRole() 와 동일해집니다.
StringsetActor(java.lang.String) String getRole()
SOAPHeaderElement 의 Role 속성의 값을 돌려줍니다.
Role 의 URI 를 나타내는 String
UnsupportedOperationException - 이 메세지가, SOAP 1.2 의
Fault Role 의 개념을 지원하지 않는 경우void setMustUnderstand(boolean mustUnderstand)
SOAPHeaderElement 객체의 mustUnderstand 속성을, true 나 false 의 어딘가에 설정합니다.
mustUnderstand 속성이 온이 되어 있는 경우,SOAPHeaderElement 를 수신하는 엑터는 그것을 정확하게 처리할 필요가 있습니다. 이것에 의해, 예를 들어 SOAPHeaderElement 객체가 메세지를 변경했을 경우, 메세지는 정확하게 변경됩니다.
mustUnderstand - mustUnderstand 속성을 true 로 설정하는 경우는 true,
false 로 설정하는 경우는 false
IllegalArgumentException - mustUnderstand 속성의 설정시에
문제가 있는 경우getMustUnderstand() ,
setRelay(boolean) boolean getMustUnderstand()
SOAPHeaderElement 의 mustUnderstand 속성의 boolean 치를 돌려줍니다.
SOAPHeaderElement 객체의 mustUnderstand 속성이 온이 되어 있는 경우는
true, 그렇지 않은 경우는
false
void setRelay(boolean relay)
throws SOAPException
SOAPHeaderElement 의 relay 속성을, true 나 false 의 어딘가에 설정합니다.
SOAP relay 속성을 true 로 설정하면(자), SOAP 헤더 블록은, 헤더 블록이 타겟으로 하는 임의의 노드에 의해 릴레이 될 필요가 있지만, 실제로는 처리하지 않는 것을 나타냅니다. mustUnderstand 속성이 true 로 설정되어 있는 헤더 블록 또는 최종적인 수신자가 타겟으로 되어 있는 (이것이 디폴트) 경우, 이 속성은 무시됩니다. 이 속성의 디폴트 값는 false 입니다.
relay - relay 속성의 새로운 값
SOAPException - relay 속성의 설정시에
문제가 있는 경우
UnsupportedOperationException - 이 메세지가, SOAP 1.2 의
Relay 속성의 개념을 지원하지 않는 경우setMustUnderstand(boolean) ,
getRelay() boolean getRelay()
SOAPHeaderElement 의 relay 속성의 boolean 치를 돌려줍니다.
true
그렇지 않은 경우는 false
UnsupportedOperationException - 이 메세지가, SOAP 1.2 의
Relay 속성의 개념을 지원하지 않는 경우getMustUnderstand() ,
setRelay(boolean)
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.