JavaTM Platform
Standard Ed. 6

javax.xml.soap
인터페이스 SOAPHeaderElement

모든 슈퍼 인터페이스:
Element , Node , SOAPElement


public interface SOAPHeaderElement
extends SOAPElement

SOAP 포락선의 SOAP 헤더부의 컨텐츠를 표현하는 객체입니다. SOAPHeader 객체의 직접적인 아이는,SOAPHeaderElement 객체로서의 보고 표현할 수 있습니다.  

SOAPHeaderElement 객체는, 아이로서 다른 SOAPElement 만을 가질 수가 있습니다.


필드의 개요
 
인터페이스 org.w3c.dom. Node 로부터 상속된 필드
ATTRIBUTE_NODE , CDATA_SECTION_NODE , COMMENT_NODE , DOCUMENT_FRAGMENT_NODE , DOCUMENT_NODE , DOCUMENT_POSITION_CONTAINED_BY , DOCUMENT_POSITION_CONTAINS , DOCUMENT_POSITION_DISCONNECTED , DOCUMENT_POSITION_FOLLOWING , DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC , DOCUMENT_POSITION_PRECEDING , DOCUMENT_TYPE_NODE , ELEMENT_NODE , ENTITY_NODE , ENTITY_REFERENCE_NODE , NOTATION_NODE , PROCESSING_INSTRUCTION_NODE , TEXT_NODE
 
메소드의 개요
 String getActor ()
          이 SOAPHeaderElementactor 속성의 URI 를 돌려줍니다.
 boolean getMustUnderstand ()
          이 SOAPHeaderElement 의 mustUnderstand 속성의 boolean 치를 돌려줍니다.
 boolean getRelay ()
          이 SOAPHeaderElementrelay 속성의 boolean 치를 돌려줍니다.
 String getRole ()
          이 SOAPHeaderElementRole 속성의 값을 돌려줍니다.
 void setActor (String  actorURI)
          이 SOAPHeaderElement 객체와 관련지을 수 있었던 엑터가 지정된 엑터로 설정합니다.
 void setMustUnderstand (boolean mustUnderstand)
          이 SOAPHeaderElement 객체의 mustUnderstand 속성을, true 나 false 의 어딘가에 설정합니다.
 void setRelay (boolean relay)
          이 SOAPHeaderElementrelay 속성을, true 나 false 의 어딘가에 설정합니다.
 void setRole (String  uri)
          이 SOAPHeaderElement 객체와 관련지을 수 있었던 Role 가 지정된 Role 로 설정합니다.
 
인터페이스 javax.xml.soap. SOAPElement 로부터 상속된 메소드
addAttribute , addAttribute , addChildElement , addChildElement , addChildElement , addChildElement , addChildElement , addChildElement , addNamespaceDeclaration , addTextNode , createQName , getAllAttributes , getAllAttributesAsQNames , getAttributeValue , getAttributeValue , getChildElements , getChildElements , getChildElements , getElementName , getElementQName , getEncodingStyle , getNamespacePrefixes , getNamespaceURI , getVisibleNamespacePrefixes , removeAttribute , removeAttribute , removeContents , removeNamespaceDeclaration , setElementQName , setEncodingStyle
 
인터페이스 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
 

메소드의 상세

setActor

void setActor(String  actorURI)
SOAPHeaderElement 객체와 관련지을 수 있었던 엑터가 지정된 엑터로 설정합니다. 엑터의 디폴트 값는,SOAPConstants.URI_SOAP_ACTOR_NEXT 입니다.  

SOAPHeaderElement 가 SOAP 1.2 를 지원하는 경우, 이 호출은 setRole(String) 와 동일해집니다.

파라미터:
actorURI - 설정하는 엑터의 URI 를 나타낸다 String
예외:
IllegalArgumentException - 엑터의 설정시에 문제가 있는 경우
관련 항목:
getActor()

setRole

void setRole(String  uri)
             throws SOAPException 
SOAPHeaderElement 객체와 관련지을 수 있었던 Role 가 지정된 Role 로 설정합니다.

파라미터:
uri - - Role 의 URI
예외:
SOAPException - 롤의 설정시에 에러가 발생하는 경우
UnsupportedOperationException - 이 메세지가, SOAP 1.2 의 Fault Role 의 개념을 지원하지 않는 경우
도입된 버젼:
SAAJ 1.3

getActor

String  getActor()
SOAPHeaderElementactor 속성의 URI 를 돌려줍니다.

SOAPHeaderElement 가 SOAP 1.2 를 지원하는 경우, 이 호출은 getRole() 와 동일해집니다.

반환값:
설정하는 엑터의 URI 를 나타내는 String
관련 항목:
setActor(java.lang.String)

getRole

String  getRole()
SOAPHeaderElementRole 속성의 값을 돌려줍니다.

반환값:
Role 의 URI 를 나타내는 String
예외:
UnsupportedOperationException - 이 메세지가, SOAP 1.2 의 Fault Role 의 개념을 지원하지 않는 경우
도입된 버젼:
SAAJ 1.3

setMustUnderstand

void setMustUnderstand(boolean mustUnderstand)
SOAPHeaderElement 객체의 mustUnderstand 속성을, true 나 false 의 어딘가에 설정합니다.  

mustUnderstand 속성이 온이 되어 있는 경우,SOAPHeaderElement 를 수신하는 엑터는 그것을 정확하게 처리할 필요가 있습니다. 이것에 의해, 예를 들어 SOAPHeaderElement 객체가 메세지를 변경했을 경우, 메세지는 정확하게 변경됩니다.

파라미터:
mustUnderstand - mustUnderstand 속성을 true 로 설정하는 경우는 true, false 로 설정하는 경우는 false
예외:
IllegalArgumentException - mustUnderstand 속성의 설정시에 문제가 있는 경우
관련 항목:
getMustUnderstand() , setRelay(boolean)

getMustUnderstand

boolean getMustUnderstand()
SOAPHeaderElement 의 mustUnderstand 속성의 boolean 치를 돌려줍니다.

반환값:
SOAPHeaderElement 객체의 mustUnderstand 속성이 온이 되어 있는 경우는 true, 그렇지 않은 경우는 false

setRelay

void setRelay(boolean relay)
              throws SOAPException 
SOAPHeaderElementrelay 속성을, true 나 false 의 어딘가에 설정합니다.  

SOAP relay 속성을 true 로 설정하면(자), SOAP 헤더 블록은, 헤더 블록이 타겟으로 하는 임의의 노드에 의해 릴레이 될 필요가 있지만, 실제로는 처리하지 않는 것을 나타냅니다. mustUnderstand 속성이 true 로 설정되어 있는 헤더 블록 또는 최종적인 수신자가 타겟으로 되어 있는 (이것이 디폴트) 경우, 이 속성은 무시됩니다. 이 속성의 디폴트 값는 false 입니다.

파라미터:
relay - relay 속성의 새로운 값
예외:
SOAPException - relay 속성의 설정시에 문제가 있는 경우
UnsupportedOperationException - 이 메세지가, SOAP 1.2 의 Relay 속성의 개념을 지원하지 않는 경우
도입된 버젼:
SAAJ 1.3
관련 항목:
setMustUnderstand(boolean) , getRelay()

getRelay

boolean getRelay()
SOAPHeaderElementrelay 속성의 boolean 치를 돌려줍니다.

반환값:
relay 속성이 온의 경우는 true 그렇지 않은 경우는 false
예외:
UnsupportedOperationException - 이 메세지가, SOAP 1.2 의 Relay 속성의 개념을 지원하지 않는 경우
도입된 버젼:
SAAJ 1.3
관련 항목:
getMustUnderstand() , setRelay(boolean)

JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.