JavaTM 2 Platform
Standard Ed. 5.0

javax.swing.text.html
Ŭ·¡½º HTMLEditorKit.ParserCallback

java.lang.Object 
  »óÀ§¸¦ È®Àå javax.swing.text.html.HTMLEditorKit.ParserCallback
¾Ë·ÁÁø Á÷°è ¼­ºê Ŭ·¡½º:
HTMLDocument.HTMLReader
Æ÷ÇԵǾî Àִ Ŭ·¡½º:
HTMLEditorKit

public static class HTMLEditorKit.ParserCallback
extends Object

±¸¹® ºÐ¼®ÀÇ °á°ú°¡ ÀÌ·¯ÇÑ ÄÝ¹é ¸Þ¼­µå¸¦ È£ÃâÇÕ´Ï´Ù. ¿ÀÇ°ú Ŭ·Î¿ìÁîÀÇ È¸¼ö´Â °°°Ô ÇÒ ÇÊ¿ä°¡ ÀÖ½À´Ï´Ù. flush ¸Þ¼­µå´Â ¸¶Áö¸·¿¡ ºÒ·Á°¡ º¸·ù »óÅÂÀÇ ÀÓÀÇÀÇ µ¥ÀÌÅ͸¦ ¹®¼­¿¡ Ç÷¡½Ã ÇÒ ±âȸ¸¦ ¼ö½Å Ãø¿¡ ÁÝ´Ï´Ù.

AttributeSets ³»¿ë, À§Ä¡ ¹× ±× ¿ÜÀÇ Á¤º¸¿¡ ´ëÇؼ­´Â »ç¿ëµÇ´Â µðÆúÆ®ÀÇ ÆÛ¼­ÀÎ DocumentParser¸¦ ÂüÁ¶ÇϽʽÿÀ.

°ü·Ã Ç׸ñ:
DocumentParser

ÇÊµå °³¿ä
static Object IMPLIED
          ¿ä¼Ò°¡ ¾Ï½ÃµÇ°í ÀÖ´Â °ÍÀ» ³ªÅ¸³»±â À§Çؼ­ ¼Ó¼º ¼¼Æ®ÀÇ ¼Ó¼ºÀ¸·Î¼­ ÀεµÇØÁý´Ï´Ù.
 
»ý¼ºÀÚ °³¿ä
HTMLEditorKit.ParserCallback ()
           
 
¸Þ¼­µå °³¿ä
 void flush ()
           
 void handleComment (char[] data, int pos)
           
 void handleEndOfLineString (String  eol)
          ½ºÆ®¸²ÀÇ Çؼ®ÀÌ Á¾·áÇØ, flush Àü¿¡ È£ÃâÇÕ´Ï´Ù.
 void handleEndTag (HTML.Tag  t, int pos)
           
 void handleError (String  errorMsg, int pos)
           
 void handleSimpleTag (HTML.Tag  t, MutableAttributeSet  a, int pos)
           
 void handleStartTag (HTML.Tag  t, MutableAttributeSet  a, int pos)
           
 void handleText (char[] data, int pos)
           
 
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

ÇʵåÀÇ »ó¼¼

IMPLIED

public static final Object  IMPLIED
¿ä¼Ò°¡ ¾Ï½ÃµÇ°í ÀÖ´Â °ÍÀ» ³ªÅ¸³»±â À§Çؼ­ ¼Ó¼º ¼¼Æ®ÀÇ ¼Ó¼ºÀ¸·Î¼­ ÀεµÇØÁý´Ï´Ù. ¿¹¸¦ µé¾î ij¸¯ÅÍ ¶óÀÎ <>foo<\t>´Â ¾Ï½ÃµÈ html ¿ä¼Ò ¹× ¾Ï½ÃµÈ º»Ã¼ ¿ä¼Ò¸¦ Æ÷ÇÔÇÏ°í ÀÖ½À´Ï´Ù.

µµÀÔµÈ ¹öÀü :
1.3
»ý¼ºÀÚ »ó¼¼

HTMLEditorKit.ParserCallback

public HTMLEditorKit.ParserCallback()
¸Þ¼­µåÀÇ »ó¼¼

flush

public void flush()
           throws BadLocationException 
¿¹¿Ü:
BadLocationException

handleText

public void handleText(char[] data,
                       int pos)

handleComment

public void handleComment(char[] data,
                          int pos)

handleStartTag

public void handleStartTag(HTML.Tag  t,
                           MutableAttributeSet  a,
                           int pos)

handleEndTag

public void handleEndTag(HTML.Tag  t,
                         int pos)

handleSimpleTag

public void handleSimpleTag(HTML.Tag  t,
                            MutableAttributeSet  a,
                            int pos)

handleError

public void handleError(String  errorMsg,
                        int pos)

handleEndOfLineString

public void handleEndOfLineString(String  eol)
½ºÆ®¸²ÀÇ Çؼ®ÀÌ Á¾·áÇØ, flush Àü¿¡ È£ÃâÇÕ´Ï´Ù. eol´Â ½ºÆ®¸²ÀÇ Çؼ®Áß¿¡ °¡Àå ¸¹ÀÌ °ËÃâµÇ´Â \n, \r ¶Ç´Â \r\n ¾î¶² °ÍÀΰ¡ÀÔ´Ï´Ù.

µµÀÔµÈ ¹öÀü :
1.3

JavaTM 2 Platform
Standard Ed. 5.0

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.