|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
java.lang.Objectjavax.swing.text.html.parser.Element
public final class Element
ELEMENT 원가요소를 사용해 DTD 에 기술되었던 대로의 요소입니다. 이것은, 태그에 불가결한 기술입니다. 타입, 컨텐츠 모델, 속성, 속성의 형태등을 기술하고 있습니다. 이 기술은, 문서를 올바르게 해석하기 위해서 Parser 에 의해 사용됩니다.
DTD
,
AttributeList
필드의 개요 | |
---|---|
AttributeList |
atts
|
ContentModel |
content
|
Object |
data
사용자 데이터를 포함하는 필드입니다. |
BitSet |
exclusions
|
BitSet |
inclusions
|
int |
index
|
String |
name
|
boolean |
oEnd
|
boolean |
oStart
|
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 |
메소드의 개요 | |
---|---|
AttributeList |
getAttribute (String name)
속성을 이름으로 가져옵니다. |
AttributeList |
getAttributeByValue (String name)
속성을 값으로 가져옵니다. |
AttributeList |
getAttributes ()
속성을 가져옵니다. |
ContentModel |
getContent ()
컨텐츠 모델을 돌려줍니다. |
int |
getIndex ()
인덱스를 가져옵니다. |
String |
getName ()
요소의 이름을 가져옵니다. |
int |
getType ()
형태를 가져옵니다. |
boolean |
isEmpty ()
빈 상태(empty)인가 어떤가를 판정합니다. |
static int |
name2type (String nm)
|
boolean |
omitEnd ()
종료 태그를 생략 할 수 있는 경우에 true 를 돌려줍니다. |
boolean |
omitStart ()
개시 태그를 생략 할 수 있는 경우에 true 를 돌려줍니다. |
String |
toString ()
캐릭터 라인으로 변환합니다. |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait |
필드의 상세 |
---|
public int index
public String name
public boolean oStart
public boolean oEnd
public BitSet inclusions
public BitSet exclusions
public int type
public ContentModel content
public AttributeList atts
public Object data
메소드의 상세 |
---|
public String getName()
public boolean omitStart()
public boolean omitEnd()
public int getType()
public ContentModel getContent()
public AttributeList getAttributes()
public int getIndex()
public boolean isEmpty()
public String toString()
Object
내의 toString
public AttributeList getAttribute(String name)
public AttributeList getAttributeByValue(String name)
public static int name2type(String nm)
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.