|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
| °³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | |||||||||
java.lang.Objectjavax.swing.text.AbstractWriter
javax.swing.text.html.HTMLWriter
public class HTMLWriter
HTMLDocument ¶óÀÌÅÍÀÔ´Ï´Ù.
| ÇÊµå °³¿ä |
|---|
| Ŭ·¡½º javax.swing.text. AbstractWriter ·ÎºÎÅÍ »ó¼ÓµÈ Çʵå |
|---|
NEWLINE |
| »ý¼ºÀÚ °³¿ä | |
|---|---|
HTMLWriter (Writer w,
HTMLDocument doc)
»õ·Î¿î HTMLWriter¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
|
HTMLWriter (Writer w,
HTMLDocument doc,
int pos,
int len)
»õ·Î¿î HTMLWriter¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
|
| ¸Þ¼µå °³¿ä | |
|---|---|
protected void |
closeOutUnwantedEmbeddedTags (AttributeSet attr)
¼Ó¼º ¼¼Æ® ¹× ÅÂ±× º¤ÅÍ¿¡ Æ÷ÇÔµÈ °¢ ű׸¦ °Ë»öÇÕ´Ï´Ù. |
protected void |
comment (Element elem)
ÄÚ¸àÆ®¸¦ ½á³À´Ï´Ù. |
protected void |
emptyTag (Element elem)
¸ðµç ºó ¿ä¼Ò (´ëÀÀÇÏ´Â Á¾·á űװ¡ ¾ø´Â ÅÂ±× ¸ðµç °Í)¸¦ ½á³À´Ï´Ù. |
protected void |
endTag (Element elem)
¿ä¼ÒÀÇ Á¾·á ű׸¦ ½á³À´Ï´Ù. |
protected boolean |
isBlockTag (AttributeSet attr)
¿ä¼Ò¿¡ ´ëÀÀÇÏ´Â HTML űװ¡ block ű×Àΰ¡ ¾î¶²°¡¸¦ ÆÇÁ¤ÇÕ´Ï´Ù. |
protected boolean |
matchNameAttribute (AttributeSet attr,
HTML.Tag tag)
StyleConstants.NameAttribute°¡ ÆÄ¶ó¹ÌÅͷμ °Ç³×¹Þ´Â Å±׿¡ µ¿ÀÏÇÑ °æ¿ì´Â true¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
protected void |
output (char[] chars,
int start,
int length)
<¸¦ < ¿¡µîÀÇ ¹®ÀÚ ¿£Æ®¸®¸¦ ¸ÅÇÎ Çϱâ À§Çؼ ¿À¹ö¶óÀ̵å(override) µË´Ï´Ù. |
protected void |
selectContent (AttributeSet attr)
Æû ¿ä¼ÒÀÇ SELECT ÄÁÅÙÃ÷¸¦ ½á³À´Ï´Ù. |
protected void |
startTag (Element elem)
¿ä¼ÒÀÇ °³½Ã ű׸¦ ½á³À´Ï´Ù. |
protected boolean |
synthesizedElement (Element elem)
¿ä¼Ò°¡ ÇÕ¼º ¿ä¼ÒÀÇ °æ¿ì´Â true¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
protected void |
text (Element elem)
ÅØ½ºÆ®¸¦ ½á³À´Ï´Ù. |
protected void |
textAreaContent (AttributeSet attr)
Æû ¿ä¼ÒÀÇ TEXTAREA¿¡ Æ÷ÇԵǰí ÀÖ´Â ÅØ½ºÆ®¸¦ ½á³À´Ï´Ù. |
void |
write ()
¿ä¼Ò Æ®¸®·Î ¹Ýº¹µÇ¾î ¸ðµç ÅÂ±×¿Í ±× ¼Ó¼ºÀÇ write¸¦ Á¦¾îÇÕ´Ï´Ù. |
protected void |
writeAttributes (AttributeSet attr)
¼Ó¼º ¼¼Æ®¸¦ ½á³À´Ï´Ù. |
protected void |
writeEmbeddedTags (AttributeSet attr)
AttributeSet ·Î Â¥³Ö¾î ű׸¦ °Ë»öÇØ ±×°ÍÀ» ½á³À´Ï´Ù. |
protected void |
writeLineSeparator ()
Çà ´Ü¶ô ¹®ÀÚ¸¦ Ãâ·ÂÇÕ´Ï´Ù. |
protected void |
writeOption (Option option)
Æû ¿ä¼ÒÀÇ Option ÄÁÅÙÃ÷¸¦ ½á³À´Ï´Ù. |
| Ŭ·¡½º javax.swing.text. AbstractWriter ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
|---|
decrIndent,
getCanWrapLines,
getCurrentLineLength,
getDocument,
getElementIterator,
getEndOffset,
getIndentLevel,
getIndentSpace,
getLineLength,
getLineSeparator,
getStartOffset,
getText,
getWriter,
incrIndent,
indent,
inRange,
isLineEmpty,
setCanWrapLines,
setCurrentLineLength,
setIndentSpace,
setLineLength,
setLineSeparator,
write,
write,
write |
| Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
|---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| »ý¼ºÀÚ »ó¼¼ |
|---|
public HTMLWriter(Writer w,
HTMLDocument doc)
w - Writerdoc - HTMLDocument
public HTMLWriter(Writer w,
HTMLDocument doc,
int pos,
int len)
w - Writerdoc - HTMLDocumentpos - ÄÁÅÙÃ÷¸¦ ¾ò´Â ¹®¼ÀÇ À§Ä¡len - ½á³»´Â ¾ç| ¸Þ¼µåÀÇ »ó¼¼ |
|---|
public void write()
throws IOException,
BadLocationException
AbstractWriter ³»ÀÇ write IOException - ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì
BadLocationException - pos°¡ ¹®¼³»ÀÇ ¹«È¿ÀÎ À§Ä¡¸¦ ³ªÅ¸³»´Â °æ¿ì
protected void writeAttributes(AttributeSet attr)
throws IOException
AbstractWriter ³»ÀÇ writeAttributes attr - AttributeSet
IOException - ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì
protected void emptyTag(Element elem)
throws BadLocationException,
IOException
elem - Element
IOException - ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì
BadLocationException - pos°¡ ¹®¼³»ÀÇ ¹«È¿ÀÎ À§Ä¡¸¦ ³ªÅ¸³»´Â °æ¿ìprotected boolean isBlockTag(AttributeSet attr)
attr - AttributeSet
protected void startTag(Element elem)
throws IOException,
BadLocationException
elem - Element
IOException - ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì
BadLocationException
protected void textAreaContent(AttributeSet attr)
throws BadLocationException,
IOException
attr - AttributeSet
IOException - ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì
BadLocationException - pos°¡ ¹®¼³»ÀÇ ¹«È¿ÀÎ À§Ä¡¸¦ ³ªÅ¸³»´Â °æ¿ì
protected void text(Element elem)
throws BadLocationException,
IOException
AbstractWriter ³»ÀÇ text elem - Element
IOException - ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì
BadLocationException - pos°¡ ¹®¼³»ÀÇ ¹«È¿ÀÎ À§Ä¡¸¦ ³ªÅ¸³»´Â °æ¿ì
protected void selectContent(AttributeSet attr)
throws IOException
attr - Æû ¿ä¼Ò¿¡ °ü·ÃÇÑ AttributeSet
IOException - ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì
protected void writeOption(Option option)
throws IOException
option - Option
IOException - ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì
protected void endTag(Element elem)
throws IOException
elem - Element
IOException - ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì
protected void comment(Element elem)
throws BadLocationException,
IOException
elem - Element
IOException - ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì
BadLocationException - pos°¡ ¹®¼³»ÀÇ ¹«È¿ÀÎ À§Ä¡¸¦ ³ªÅ¸³»´Â °æ¿ìprotected boolean synthesizedElement(Element elem)
protected boolean matchNameAttribute(AttributeSet attr,
HTML.Tag tag)
protected void writeEmbeddedTags(AttributeSet attr)
throws IOException
IOException - ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì
protected void closeOutUnwantedEmbeddedTags(AttributeSet attr)
throws IOException
IOException - ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì
protected void writeLineSeparator()
throws IOException
AbstractWriter ³»ÀÇ writeLineSeparator IOException
protected void output(char[] chars,
int start,
int length)
throws IOException
super.outputÀÌ È£ÃâµË´Ï´Ù.
AbstractWriter ³»ÀÇ output IOException
|
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 µµ ÂüÁ¶ÇϽʽÿÀ.