|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
public interface Detail
DetailEntry
객체의 컨테이너입니다. DetailEntry
객체는, 어플리케이션 고유의 에러 정보나, 이 객체를 포함한 SOAPBody
객체에 관련한 에러 정보의 상세를 나타냅니다.
SOAPFault
객체의 일부인 Detail
객체는,SOAPFault.getDetail
메소드를 사용해 취득할 수 있습니다. Detail
의 인터페이스에는 2 개의 메소드가 있습니다. DetailEntry
객체를 새롭게 작성해 Detail
객체에 자동적으로 추가하는 메소드와Detail
객체에 포함되는 DetailEntry
객체의 리스트를 취득하는 메소드입니다.
다음의 코드의 발췌 (sf 는 SOAPFault
객체)는,Detail
객체 (d)를 취득한 후 d 에 DetailEntry
객체를 새롭게 추가해,d 의 DetailEntry
객체의 리스트를 모두 취득하는 방법을 나타내고 있습니다. 또, 이 코드는 addDetailEntry
메소드에 건네주는 Name
객체도 작성합니다. Name
객체의 작성에 사용하는 변수 se 는,SOAPEnvelope
객체입니다.
Detail d = sf.getDetail(); Name name = se.createName("GetLastTradePrice", "WOMBAT", "http://www.wombat.org/trader"); d.addDetailEntry(name); Iterator it = d.getDetailEntries();
필드의 개요 |
---|
메소드의 개요 | |
---|---|
DetailEntry |
addDetailEntry (Name name)
지정의 이름으로 DetailEntry 객체를 새롭게 작성해, 이 Detail 객체에 추가합니다. |
DetailEntry |
addDetailEntry (QName qname)
지정의 QName 로 DetailEntry 객체를 새롭게 작성해, 이 Detail 객체에 추가합니다. |
Iterator |
getDetailEntries ()
이 Detail 객체의 모든 DetailEntry 의 Iterator 를 가져옵니다. |
인터페이스 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 |
메소드의 상세 |
---|
DetailEntry addDetailEntry(Name name) throws SOAPException
DetailEntry
객체를 새롭게 작성해, 이 Detail
객체에 추가합니다.
name
- 새로운 DetailEntry
객체를 식별한다
Name
객체
SOAPException
- 이 Detail 객체에 DetailEntry 객체를 추가할 경우에
문제가 발생했을 경우에 throw 되는addDetailEntry(QName qname)
DetailEntry addDetailEntry(QName qname) throws SOAPException
DetailEntry
객체를 새롭게 작성해, 이 Detail
객체에 추가합니다. 이 메소드는 Name 를 사용한 것보다 우선합니다.
qname
- 새로운 DetailEntry
객체를 식별한다
QName
객체
SOAPException
- 이 Detail 객체에 DetailEntry 객체를 추가할 경우에
문제가 발생했을 경우에 throw 되는addDetailEntry(Name name)
Iterator getDetailEntries()
Detail
객체의 모든 DetailEntry
의 Iterator 를 가져옵니다.
Detail
객체의 DetailEntry
의
Iterator
객체
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.