Logo Search packages:      
Sourcecode: uimaj version File versions  Download package

Public Member Functions | Static Public Member Functions | Static Public Attributes | Static Protected Attributes

org::apache::uima::pear::util::XMLUtil Class Reference

List of all members.

Public Member Functions

 XMLUtil ()

Static Public Member Functions

static SAXParser createSAXParser () throws SAXException
static String detectXmlFileEncoding (File xmlFile) throws IOException
static boolean isValidXmlFile (File xmlFile) throws IOException
static void printAllXMLElements (Properties elements, PrintWriter oWriter, int level) throws IOException
static void printAllXMLElements (Properties elements, String valueDelimiter, String[] tagOrder, PrintWriter oWriter, int level) throws IOException
static void printAllXMLElements (Properties elements, String[] tagOrder, PrintWriter oWriter, int level) throws IOException
static void printError (String type, SAXParseException ex)
static void printXMLElement (String tag, Properties attributes, PrintWriter oWriter, int level) throws IOException
static void printXMLElement (String tag, Properties attributes, String elemValue, PrintWriter oWriter, int level) throws IOException
static void printXMLElement (String tag, Properties attributes, String elemValue, boolean putInCdataSection, PrintWriter oWriter, int level) throws IOException
static void printXMLElement (String tag, Properties attributes, String elemValue, boolean putInCdataSection, PrintWriter oWriter, int level, boolean useNewLine4Value) throws IOException
static void printXMLElement (String tag, String elemValue, PrintWriter oWriter, int level) throws IOException
static void printXMLElement (String tag, String elemValue, boolean putInCdataSection, PrintWriter oWriter, int level) throws IOException
static void printXMLElements (String tag, String elemValue, String valueDelimiter, PrintWriter oWriter, int level) throws IOException
static void printXMLElementValue (String elemValue, PrintWriter oWriter, int level) throws IOException
static void printXMLElementValue (String elemValue, boolean putInCdataSection, PrintWriter oWriter, int level) throws IOException
static void printXMLHeader (String encoding, PrintWriter oWriter) throws IOException
static void printXMLTag (String tag, Properties attributes, PrintWriter oWriter, boolean tagEnd, int level) throws IOException
static void printXMLTag (String tag, PrintWriter oWriter, boolean tagEnd, int level) throws IOException

Static Public Attributes

static final String CDATA_SECTION_BEG = "<![CDATA["
static final String CDATA_SECTION_END = "]]>"
static final String DYNAMIC_VALIDATION_FEATURE_ID = "http://apache.org/xml/features/validation/dynamic"
static final String NAMESPACE_PREFIXES_FEATURE_ID = "http://xml.org/sax/features/namespace-prefixes"
static final String NAMESPACES_FEATURE_ID = "http://xml.org/sax/features/namespaces"
static final String SCHEMA_FULL_CHECKING_FEATURE_ID = "http://apache.org/xml/features/validation/schema-full-checking"
static final String SCHEMA_VALIDATION_FEATURE_ID = "http://apache.org/xml/features/validation/schema"
static final String VALIDATION_FEATURE_ID = "http://xml.org/sax/features/validation"
static final String XML_ENCODING_TAG = "encoding"
static final String XML_HEADER_BEG = "<?xml version=\"1.0\""
static final String XML_HEADER_END = "?>"

Static Protected Attributes

static final boolean DEFAULT_DYNAMIC_VALIDATION = false
static final boolean DEFAULT_NAMESPACE_PREFIXES = false
static final boolean DEFAULT_NAMESPACES = true
static final boolean DEFAULT_SCHEMA_FULL_CHECKING = false
static final boolean DEFAULT_SCHEMA_VALIDATION = false
static final boolean DEFAULT_VALIDATION = false
static final String FIRST_XML_CHARS = "<?"

Detailed Description

The XMLUtil class provides miscellaneous XML utilities.

Definition at line 47 of file XMLUtil.java.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index