|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| ÀüÀÇ Å¬·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
| °³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | |||||||||
java.lang.Objectjavax.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 ()
µðÆúÆ®ÀÇ Àμö ¾øÀ½ÀÇ constructor¡¡ ¡¡ |
|
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¿¡ ij½ºÆ® ÇÏ·Á°í ÇÕ´Ï´Ù.
handler - ÀÚ±¸ ±¸¹® ºÐ¼® À̺¥Æ®¸¦ ó¸®Çϱâ À§ÇÑ null ÀÌ¿ÜÀÇ LexicalHandlerpublic LexicalHandler getLexicalHandler()
LexicalHandler¸¦
ÃëµæÇÕ´Ï´Ù.
LexicalHandler, ¶Ç´Â nullpublic void setSystemId(String systemId)
ContentHandler ¿Í
°ü·ÃÁö¾î »ç¿ëÇÒ ¼ö ÀÖ´Â ½Ã½ºÅÛ ½Äº°ÀÚ¸¦ ¼³Á¤ÇÕ´Ï´Ù.
Result ³»ÀÇ setSystemId systemId - URI ij¸¯ÅÍ ¶óÀÎÀ¸·Î¼ÀÇ ½Ã½ºÅÛ ½Äº°ÀÚpublic String getSystemId()
Result ³»ÀÇ getSystemId
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| ÀüÀÇ Å¬·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
| °³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.