Language
Asturianu (ast)
Català (ca)
Čeština (cs)
Dansk (da)
Deutsch (de)
English [US] (en-US)
Español (es)
Esperanto (eo)
Eesti keel (et)
Euskara (eu)
Français (fr)
Gàidhlig (gd)
Galego (gl)
Italiano (it)
Lietuvių (lt)
Magyar (hu)
Nederlands (nl)
Norsk (no)
Polski (pl)
Português [do Brasil] (pt-BR)
Português [Europeu] (pt)
Română (ro)
Slovenčina (sk)
Slovenščina (sl)
Suomi (fi)
Svenska (sv)
Yкраїнська (uk)
Tiếng Việt (vi)
Türkçe (tr)
ኦሮሚኛ (om)
Հայերեն (hy)
Ελληνικά (el)
български език (bg)
Русский (ru)
Cрпски [ћирилицом] (sr)
עברית (he)
हिन्दी (hi)
ភាសាខ្មែរ (km)
தமிழ் (ta)
ภาษาไทย (th)
简体中文 (zh-CN)
正體中文 (zh-TW)
日本語 (ja)
한국어 (ko)
The Free and Open Productivity Suite
util
Class XMLTools.XMLChecker
util.XMLTools.XMLWriter
|
+--util.XMLTools.XMLWellFormChecker
|
+--util.XMLTools.XMLChecker
Enclosing class: XMLTools
public static class XMLTools.XMLChecker extends XMLTools.XMLWellFormChecker
Class realises extended XML data checking. It has possibilities
to check if a tag exists, if it has some attributes with
values, and if this tag is contained in another tag (which
also can specify any attributes). It can check if some
character data exists inside any tag specified.
tagSet
protected HashSet tagSet
tags
protected Vector tags
chars
protected Vector chars
tagStack
protected Vector tagStack
attrStack
protected Vector attrStack
XMLTools.XMLChecker
public XMLTools.XMLChecker (PrintWriter log,
boolean writeXML)
addTag
public void addTag (XMLTools.Tag tag)
addTagEnclosed
public void addTagEnclosed (XMLTools.Tag tag,
XMLTools.Tag outerTag)
addCharacters
public void addCharacters (String ch)
addCharactersEnclosed
public void addCharactersEnclosed (String ch,
XMLTools.Tag outerTag)
startElement
public void startElement (String name,
com.sun.star.xml.sax.XAttributeList attr)
Overrides: startElement
in class XMLTools.XMLWellFormChecker
characters
public void characters (String ch)
Overrides: characters
in class XMLTools.XMLWriter
endElement
public void endElement (String name)
Overrides: endElement
in class XMLTools.XMLWellFormChecker
check
public boolean check ()