|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
java.lang.Object javax.xml.transform.sax.SAXResult
public class SAXResult
변환 Result 의 홀더로서 동작합니다.
필드의 개요 | |
---|---|
static String |
FEATURE
이 값을 인수로서 건네주었을 때에 TransformerFactory.getFeature(java.lang.String) 가 true 를 돌려주는 경우, Transformer 는 이 형태의 Result 출력을 지원합니다. |
인터페이스 javax.xml.transform. Result 로부터 상속된 필드 |
---|
PI_DISABLE_OUTPUT_ESCAPING , PI_ENABLE_OUTPUT_ESCAPING |
생성자 의 개요 | |
---|---|
SAXResult ()
디폴트의 인수 없음의 생성자 |
|
SAXResult (ContentHandler handler)
SAX2 ContentHandler 를 타겟으로 하는 SAXResult 를 작성합니다. |
메소드의 개요 | |
---|---|
ContentHandler |
getHandler ()
Result 인 ContentHandler 를 가져옵니다. |
LexicalHandler |
getLexicalHandler ()
출력용의 SAX2 LexicalHandler 를 가져옵니다. |
String |
getSystemId ()
setSystemId 를 사용해 설정된 시스템 식별자를 가져옵니다. |
void |
setHandler (ContentHandler handler)
타겟을 SAX2 ContentHandler 로 설정합니다. |
void |
setLexicalHandler (LexicalHandler handler)
출력용의 SAX2 LexicalHandler 를 설정합니다. |
void |
setSystemId (String systemId)
setSystemId 메소드는, ContentHandler 와 관련지어 사용할 수 있는 시스템 식별자를 설정합니다. |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
필드의 상세 |
---|
public static final String FEATURE
TransformerFactory.getFeature(java.lang.String)
가 true 를 돌려주는 경우, Transformer 는 이 형태의 Result 출력을 지원합니다.
생성자 의 상세 |
---|
public SAXResult()
public SAXResult(ContentHandler handler)
ContentHandler
를 타겟으로 하는 SAXResult 를 작성합니다.
handler
- null 이외의 ContentHandler 참조가 아니면 안된다메소드의 상세 |
---|
public void setHandler(ContentHandler handler)
ContentHandler
로 설정합니다.
handler
- null 이외의 ContentHandler 참조가 아니면 안된다public ContentHandler getHandler()
ContentHandler
를 가져옵니다.
public void setLexicalHandler(LexicalHandler handler)
LexicalHandler
를 설정합니다.
이것은 XML 코멘트등을 처리하기 위해서 필요합니다. 자구 핸들러가 설정되어 있지 않은 경우, Transformer 는 ContentHandler
를 LexicalHandler
에 캐스트 하려고 합니다.
handler
- 자구 구문 분석 이벤트를 처리하기 위한
null 이외의 LexicalHandler
public LexicalHandler getLexicalHandler()
LexicalHandler
를 가져옵니다.
LexicalHandler
, 또는 nullpublic void setSystemId(String systemId)
ContentHandler
와 관련지어 사용할 수 있는 시스템 식별자를 설정합니다.
Result
내의 setSystemId
systemId
- URI 캐릭터 라인으로서의 시스템 식별자public String getSystemId()
Result
내의 getSystemId
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.