|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjavax.swing.text.html.parser.Entity
public final class Entity
¿£Æ¼Æ¼´Â ENTITY ¿ø°¡¿ä¼Ò¸¦ »ç¿ëÇØ DTD¿¡ ±â¼úµË´Ï´Ù. ¿£Æ¼Æ¼´Â ¿£Æ¼Æ¼ÀÇ Å¸ÀÔ ¹× °ªÀ» Á¤ÀÇÇÕ´Ï´Ù.
DTD
ÇÊµå °³¿ä | |
---|---|
char[] |
data
|
String |
name
|
int |
type
|
ÀÎÅÍÆäÀ̽º javax.swing.text.html.parser. DTDConstants ·ÎºÎÅÍ »ó¼ÓµÈ Çʵå |
---|
ANY,
CDATA,
CONREF,
CURRENT,
DEFAULT,
EMPTY,
ENDTAG,
ENTITIES,
ENTITY,
FIXED,
GENERAL,
ID,
IDREF,
IDREFS,
IMPLIED,
MD,
MODEL,
MS,
NAME,
NAMES,
NMTOKEN,
NMTOKENS,
NOTATION,
NUMBER,
NUMBERS,
NUTOKEN,
NUTOKENS,
PARAMETER,
PI,
PUBLIC,
RCDATA,
REQUIRED,
SDATA,
STARTTAG,
SYSTEM |
»ý¼ºÀÚ °³¿ä | |
---|---|
Entity (String name,
int type,
char[] data)
¿£Æ¼Æ¼¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
char[] |
getData ()
data ¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
String |
getName ()
¿£Æ¼Æ¼ÀÇ À̸§À» ÃëµæÇÕ´Ï´Ù. |
String |
getString ()
µ¥ÀÌÅ͸¦ String ·Î
¼ ¸®ÅÏÇÕ´Ï´Ù. |
int |
getType ()
¿£Æ¼Æ¼ÀÇ Å¸ÀÔÀ» ÃëµæÇÕ´Ï´Ù. |
boolean |
isGeneral ()
ÀÏ¹Ý ¿£Æ¼Æ¼ÀÇ °æ¿ì¿¡ true ¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
boolean |
isParameter ()
ÆÄ¶ó¸ÞÀÌŸ¿£Æ¼Æ¼ÀÇ °æ¿ì¿¡ true ¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
static int |
name2type (String nm)
nm ij¸¯ÅÍ ¶óÀÎÀ» ´ëÀÀÇÏ´Â ¿£Æ¼Æ¼Å¸ÀÌÇÁ·Î º¯È¯ÇÕ´Ï´Ù. |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ÇʵåÀÇ »ó¼¼ |
---|
public String name
public int type
public char[] data
»ý¼ºÀÚ »ó¼¼ |
---|
public Entity(String name, int type, char[] data)
name
- ¿£Æ¼Æ¼ÀÇ À̸§type
- ¿£Æ¼Æ¼ÀÇ Å¸ÀÔdata
- µ¥ÀÌÅÍÀÇ char ¹è¿¸Þ¼µåÀÇ »ó¼¼ |
---|
public String getName()
String
)public int getType()
public boolean isParameter()
true
¸¦ ¸®ÅÏÇÕ´Ï´Ù.
true
public boolean isGeneral()
true
¸¦ ¸®ÅÏÇÕ´Ï´Ù.
true
public char[] getData()
data
¸¦ ¸®ÅÏÇÕ´Ï´Ù.
data
public String getString()
String
·Î
¼ ¸®ÅÏÇÕ´Ï´Ù.
String
)public static int name2type(String nm)
nm
ij¸¯ÅÍ ¶óÀÎÀ» ´ëÀÀÇÏ´Â ¿£Æ¼Æ¼Å¸ÀÌÇÁ·Î º¯È¯ÇÕ´Ï´Ù. ij¸¯ÅÍ ¶óÀο¡ ´ëÀÀÇÏ´Â ¿£Æ¼Æ¼Å¸ÀÌÇÁ°¡ ¾ø´Â °æ¿ì, ¡¸CDATA¡¹¿¡ ´ëÀÀÇϴ ŸÀÔÀÌ ¸®Åϵ˴ϴÙ
. À¯È¿ÇÑ ¿£Æ¼Æ¼Å¸ÀÌÇÁ´Â PUBLIC, CDATA, SDATA, PI, STARTTAG, ENDTAG, MS, MD, SYSTEM ÀÔ´Ï´Ù.
nm
- º¯È¯µÇ´Â ij¸¯ÅÍ ¶óÀÎ
|
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 µµ ÂüÁ¶ÇϽʽÿÀ.