C D E F G I O P R S T U W X _
All Classes All Packages
All Classes All Packages
All Classes All Packages
C
- comment(String) - Method in class org.eclipse.rdf4j.common.xml.XMLWriter
-
Writes a comment.
- createXMLReader() - Static method in class org.eclipse.rdf4j.common.xml.XMLReaderFactory
-
creates an org.xml.sax.XMLReader object.
- createXMLReader(String) - Static method in class org.eclipse.rdf4j.common.xml.XMLReaderFactory
-
Creates an org.xml.sax.XMLReader object using the supplied name.
D
- DocumentUtil - Class in org.eclipse.rdf4j.common.xml
-
Utilities to make working with DOM documents easier.
- DocumentUtil() - Constructor for class org.eclipse.rdf4j.common.xml.DocumentUtil
E
- emptyElement(String) - Method in class org.eclipse.rdf4j.common.xml.XMLWriter
-
Writes an 'empty' element, e.g.
- emptyLine() - Method in class org.eclipse.rdf4j.common.xml.XMLWriter
-
Writes an empty line.
- endDocument() - Method in class org.eclipse.rdf4j.common.xml.SimpleSAXAdapter
- endDocument() - Method in interface org.eclipse.rdf4j.common.xml.SimpleSAXListener
-
Notifies the listener that the parser has finished parsing.
- endDocument() - Method in class org.eclipse.rdf4j.common.xml.XMLWriter
-
Finishes writing and flushes the OutputStream or Writer that this XMLWriter is writing to.
- endTag(String) - Method in class org.eclipse.rdf4j.common.xml.SimpleSAXAdapter
- endTag(String) - Method in interface org.eclipse.rdf4j.common.xml.SimpleSAXListener
-
Reports an end tag to the listener.
- endTag(String) - Method in class org.eclipse.rdf4j.common.xml.XMLWriter
-
Writes an end tag.
- escapeAttributeValue(String) - Static method in class org.eclipse.rdf4j.common.xml.XMLUtil
-
Escapes all characters that have a special meaning in XML attribute values -- i.e.
- escapeCharacterData(String) - Static method in class org.eclipse.rdf4j.common.xml.XMLUtil
-
Escapes any special characters in the supplied text so that it can be included as character data in an XML document.
- escapeDoubleQuotedAttValue(String) - Static method in class org.eclipse.rdf4j.common.xml.XMLUtil
-
Escapes any special characters in the supplied value so that it can be used as an double-quoted attribute value in an XML document.
- escapeSingleQuotedAttValue(String) - Static method in class org.eclipse.rdf4j.common.xml.XMLUtil
-
Escapes any special characters in the supplied value so that it can be used as an single-quoted attribute value in an XML document.
- escapeText(String) - Static method in class org.eclipse.rdf4j.common.xml.XMLUtil
-
Escapes all characters that have a special meaning in XML text -- i.e.
F
- findURISplitIndex(String) - Static method in class org.eclipse.rdf4j.common.xml.XMLUtil
-
Tries to find a point in the supplied URI where this URI can be safely split into a namespace part and a local name.
G
- getDocument(URL) - Static method in class org.eclipse.rdf4j.common.xml.DocumentUtil
-
Create a Document representing the XML file at the specified location.
- getDocument(URL, boolean, boolean) - Static method in class org.eclipse.rdf4j.common.xml.DocumentUtil
-
Create a Document representing the XML file at the specified location.
- getDocument(URL, Schema) - Static method in class org.eclipse.rdf4j.common.xml.DocumentUtil
-
Create a Document representing the XML file at the specified location.
- getIndentString() - Method in class org.eclipse.rdf4j.common.xml.XMLWriter
-
Gets the string used for indentation.
- getListener() - Method in class org.eclipse.rdf4j.common.xml.SimpleSAXParser
-
Gets the listener that currently will receive any events from this parser.
- getLocator() - Method in class org.eclipse.rdf4j.common.xml.SimpleSAXParser
- getWriter() - Method in class org.eclipse.rdf4j.common.xml.XMLWriter
I
- isCombiningChar(char) - Static method in class org.eclipse.rdf4j.common.xml.XMLUtil
- isDigit(char) - Static method in class org.eclipse.rdf4j.common.xml.XMLUtil
- isExtender(char) - Static method in class org.eclipse.rdf4j.common.xml.XMLUtil
- isIdeographic(char) - Static method in class org.eclipse.rdf4j.common.xml.XMLUtil
- isLetter(char) - Static method in class org.eclipse.rdf4j.common.xml.XMLUtil
- isNCName(String) - Static method in class org.eclipse.rdf4j.common.xml.XMLUtil
-
Checks whether the supplied String is an NCName (Namespace Classified Name) as specified at http://www.w3.org/TR/REC-xml-names/#NT-NCName .
- isNCNameChar(char) - Static method in class org.eclipse.rdf4j.common.xml.XMLUtil
- isNCNameStartChar(char) - Static method in class org.eclipse.rdf4j.common.xml.XMLUtil
- isPreserveWhitespace() - Method in class org.eclipse.rdf4j.common.xml.SimpleSAXParser
-
Checks whether leading and trailing whitespace characters in text elements are preserved.
- isValidCharacterDataChar(char) - Static method in class org.eclipse.rdf4j.common.xml.XMLUtil
-
Returns whether the specified character can appear in XML character data.
- isValidCharacterDataChar(int) - Static method in class org.eclipse.rdf4j.common.xml.XMLUtil
-
Returns whether the specified character can appear in XML character data.
O
- org.eclipse.rdf4j.common.xml - package org.eclipse.rdf4j.common.xml
P
- parse(File) - Method in class org.eclipse.rdf4j.common.xml.SimpleSAXParser
-
Parses the content of the supplied File as XML.
- parse(InputStream) - Method in class org.eclipse.rdf4j.common.xml.SimpleSAXParser
-
Parses the content of the supplied InputStream as XML.
- parse(Reader) - Method in class org.eclipse.rdf4j.common.xml.SimpleSAXParser
-
Parses the content of the supplied Reader as XML.
- parse(InputSource) - Method in class org.eclipse.rdf4j.common.xml.SimpleSAXParser
-
Parses the content of the supplied InputSource as XML.
- prettyPrintEnabled() - Method in class org.eclipse.rdf4j.common.xml.XMLWriter
-
Checks whether pretty-printing is enabled.
R
- removeInvalidCharacterDataChars(String) - Static method in class org.eclipse.rdf4j.common.xml.XMLUtil
-
Removes all non-valid XML character data chars from the specified String.
- resolveEntities(String) - Static method in class org.eclipse.rdf4j.common.xml.XMLUtil
-
Replaces all XML character entities with the character they represent.
- resolveEntity(String) - Static method in class org.eclipse.rdf4j.common.xml.XMLUtil
-
Resolves an entity reference or character reference to its value.
S
- setAttribute(String, boolean) - Method in class org.eclipse.rdf4j.common.xml.XMLWriter
-
Sets an attribute for the next start element.
- setAttribute(String, int) - Method in class org.eclipse.rdf4j.common.xml.XMLWriter
-
Sets an attribute for the next start element.
- setAttribute(String, String) - Method in class org.eclipse.rdf4j.common.xml.XMLWriter
-
Sets an attribute for the next start tag.
- setIndentString(String) - Method in class org.eclipse.rdf4j.common.xml.XMLWriter
-
Sets the string that should be used for indentation when pretty-printing is enabled.
- setListener(SimpleSAXListener) - Method in class org.eclipse.rdf4j.common.xml.SimpleSAXParser
-
Sets the (new) listener that should receive any events from this parser.
- setPreserveWhitespace(boolean) - Method in class org.eclipse.rdf4j.common.xml.SimpleSAXParser
-
Sets whether leading and trailing whitespace characters in text elements should be preserved.
- setPrettyPrint(boolean) - Method in class org.eclipse.rdf4j.common.xml.XMLWriter
-
Enables or disables pretty-printing.
- SimpleSAXAdapter - Class in org.eclipse.rdf4j.common.xml
-
An implementation of SimpleSAXListener providing dummy implementations for all its methods.
- SimpleSAXAdapter() - Constructor for class org.eclipse.rdf4j.common.xml.SimpleSAXAdapter
- SimpleSAXListener - Interface in org.eclipse.rdf4j.common.xml
-
A listener for events reported by SimpleSAXParser.
- SimpleSAXParser - Class in org.eclipse.rdf4j.common.xml
-
An XML parser that generates "simple" SAX-like events from a limited subset of XML documents.
- SimpleSAXParser() - Constructor for class org.eclipse.rdf4j.common.xml.SimpleSAXParser
-
Creates a new SimpleSAXParser that will try to create a new XMLReader using info.aduna.xml.XMLReaderFactory for parsing the XML.
- SimpleSAXParser(XMLReader) - Constructor for class org.eclipse.rdf4j.common.xml.SimpleSAXParser
-
Creates a new SimpleSAXParser that will use the supplied XMLReader for parsing the XML.
- startDocument() - Method in class org.eclipse.rdf4j.common.xml.SimpleSAXAdapter
- startDocument() - Method in interface org.eclipse.rdf4j.common.xml.SimpleSAXListener
-
Notifies the listener that the parser has started parsing.
- startDocument() - Method in class org.eclipse.rdf4j.common.xml.XMLWriter
-
Writes the XML header for the XML file.
- startTag(String) - Method in class org.eclipse.rdf4j.common.xml.XMLWriter
-
Writes a start tag containing the previously set attributes.
- startTag(String, Map<String, String>, String) - Method in class org.eclipse.rdf4j.common.xml.SimpleSAXAdapter
- startTag(String, Map<String, String>, String) - Method in interface org.eclipse.rdf4j.common.xml.SimpleSAXListener
-
Reports a start tag to the listener.
T
- text(String) - Method in class org.eclipse.rdf4j.common.xml.XMLWriter
-
Writes a piece of text.
- textElement(String, boolean) - Method in class org.eclipse.rdf4j.common.xml.XMLWriter
-
Writes a start and end tag with the supplied boolean value between them.
- textElement(String, int) - Method in class org.eclipse.rdf4j.common.xml.XMLWriter
-
Writes a start and end tag with the supplied value between them.
- textElement(String, String) - Method in class org.eclipse.rdf4j.common.xml.XMLWriter
-
Writes a start and end tag with the supplied text between them.
U
- unescapedTextElement(String, String) - Method in class org.eclipse.rdf4j.common.xml.XMLWriter
-
Writes a start and end tag with the supplied text between them, without the usual escape rules.
W
- writeStylesheet(String) - Method in class org.eclipse.rdf4j.common.xml.XMLWriter
-
Writes a link to an XSL stylesheet, using <?
X
- XERCES_SAXPARSER - Static variable in class org.eclipse.rdf4j.common.xml.XMLReaderFactory
- XMLReaderFactory - Class in org.eclipse.rdf4j.common.xml
-
Factory class for creating an XMLReader.
- XMLReaderFactory() - Constructor for class org.eclipse.rdf4j.common.xml.XMLReaderFactory
- XMLUtil - Class in org.eclipse.rdf4j.common.xml
-
Utility methods for handling and processing XML data.
- XMLUtil() - Constructor for class org.eclipse.rdf4j.common.xml.XMLUtil
- XMLWriter - Class in org.eclipse.rdf4j.common.xml
-
A utility class offering convenience methods for writing XML.
- XMLWriter(OutputStream) - Constructor for class org.eclipse.rdf4j.common.xml.XMLWriter
-
Creates a new XMLWriter that will write its data to the supplied OutputStream in the default UTF-8 character encoding.
- XMLWriter(OutputStream, String) - Constructor for class org.eclipse.rdf4j.common.xml.XMLWriter
-
Creates a new XMLWriter that will write its data to the supplied OutputStream in specified character encoding.
- XMLWriter(Writer) - Constructor for class org.eclipse.rdf4j.common.xml.XMLWriter
-
Creates a new XMLWriter that will write its data to the supplied Writer.
_
- _createXMLReader(String) - Static method in class org.eclipse.rdf4j.common.xml.XMLReaderFactory
- _indentLevel - Variable in class org.eclipse.rdf4j.common.xml.XMLWriter
-
The current indentation level, i.e. the number of tabs to indent a start or end tag.
- _write(String) - Method in class org.eclipse.rdf4j.common.xml.XMLWriter
-
Writes a string.
- _writeIndent() - Method in class org.eclipse.rdf4j.common.xml.XMLWriter
-
Writes as much indentation strings as appropriate for the current indentation level.
- _writeLn(String) - Method in class org.eclipse.rdf4j.common.xml.XMLWriter
-
Writes a string followed by a line-separator.
All Classes All Packages