|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--javax.swing.text.AbstractWriter | +--javax.swing.text.html.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 ()
¿ä¼Ò Æ®¸®·Î ¹Ýº¹µÇ¾î ¸ðµç ÅÂ±×¿Í ±× ¼Ó¼ºÀÇ ±âÀÔÀ» Á¦¾îÇÕ´Ï´Ù. |
protected void |
writeAttributes (AttributeSet attr)
¼Ó¼º ¼¼Æ®¸¦ ½á³À´Ï´Ù. |
protected void |
writeEmbeddedTags (AttributeSet attr)
AttributeSet ·Î Â¥³Ö¾î ű׸¦ °Ë»öÇØ ±×°ÍÀ» ½á³À´Ï´Ù. |
protected void |
writeLineSeparator ()
Çà ´Ü¶ô ij¸¯Å͸¦ ±âÀÔÇÕ´Ï´Ù. |
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
- HTMLDocumentpublic 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 Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
Java, Java 2 D, ¹× JDBC ´Â ¹Ì±¹ ¹× ±× ¿ÜÀÇ ³ª¶ó¿¡ ÀÖ¾î¼ÀÇ ¹Ì±¹ Sun Microsystems, Inc. ÀÇ »óÇ¥ ȤÀº µî·Ï»óÇ¥ÀÔ´Ï´Ù.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.