|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.util.xml.parse.policy.DefaultParserPolicy
public class DefaultParserPolicy
コンストラクタの概要 | |
---|---|
DefaultParserPolicy()
|
メソッドの概要 | |
---|---|
Element |
allowElement(Element element)
called when element is detected. |
boolean |
checkEndTag()
if true, check open tag key and close tag key. |
boolean |
forceEmptyTag(java.lang.String key)
Basicly, all the tag must open and close. |
ParserPolicy |
getInnerPolicy(Element element)
return handler that handle this element |
java.lang.String |
selectEncoding(java.lang.String last_tag_key)
if encoding cannot be detected by first line of document, this method will be called. |
Element |
startElement(Element element)
|
boolean |
throwExceptionIfDocumentHasError()
Throw exception if document has error. |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public DefaultParserPolicy()
メソッドの詳細 |
---|
public boolean throwExceptionIfDocumentHasError()
ParserPolicy
の記述:
ParserPolicy
内の throwExceptionIfDocumentHasError
public boolean checkEndTag()
ParserPolicy
の記述:
ParserPolicy
内の checkEndTag
public java.lang.String selectEncoding(java.lang.String last_tag_key)
ParserPolicy
の記述:
ParserPolicy
内の selectEncoding
public boolean forceEmptyTag(java.lang.String key)
ParserPolicy
の記述:
ParserPolicy
内の forceEmptyTag
public ParserPolicy getInnerPolicy(Element element)
ParserPolicy
の記述:
ParserPolicy
内の getInnerPolicy
public Element allowElement(Element element)
ParserPolicy
の記述:
ParserPolicy
内の allowElement
public Element startElement(Element element)
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |