A B C D E F G I M N O P R S T U V W X 

A

afterHandle(Request, Response) - Method in class org.restlet.ext.xml.Transformer
 

B

beforeHandle(Request, Response) - Method in class org.restlet.ext.xml.Transformer
 

C

canTransform(Representation) - Method in class org.restlet.ext.xml.Transformer
Indicates if the filter can transform the given message entity.
characters(char[], int, int) - Method in class org.restlet.ext.xml.XmlWriter
Write character data.
characters(String) - Method in class org.restlet.ext.xml.XmlWriter
Write a string of character data, with XML escaping.
createTransformer() - Method in class org.restlet.ext.xml.DomRepresentation
Creates a new JAXP Transformer object that will be used to serialize this DOM.

D

dataElement(String, String) - Method in class org.restlet.ext.xml.XmlWriter
Write an element with character data content but no attributes or Namespace URI.
dataElement(String, String, String) - Method in class org.restlet.ext.xml.XmlWriter
Write an element with character data content but no attributes.
dataElement(String, String, String, Attributes, String) - Method in class org.restlet.ext.xml.XmlWriter
Write an element with character data content.
DomRepresentation - Class in org.restlet.ext.xml
XML representation based on a DOM document.
DomRepresentation() - Constructor for class org.restlet.ext.xml.DomRepresentation
Default constructor.
DomRepresentation(MediaType) - Constructor for class org.restlet.ext.xml.DomRepresentation
Constructor for an empty document.
DomRepresentation(MediaType, Document) - Constructor for class org.restlet.ext.xml.DomRepresentation
Constructor from an existing DOM document.
DomRepresentation(Representation) - Constructor for class org.restlet.ext.xml.DomRepresentation
Constructor.

E

emptyElement(String) - Method in class org.restlet.ext.xml.XmlWriter
Add an empty element without a Namespace URI, qname or attributes.
emptyElement(String, String) - Method in class org.restlet.ext.xml.XmlWriter
Add an empty element without a qname or attributes.
emptyElement(String, String, String, Attributes) - Method in class org.restlet.ext.xml.XmlWriter
Write an empty element.
endDocument() - Method in class org.restlet.ext.xml.XmlWriter
Write a newline at the end of the document.
endElement(String) - Method in class org.restlet.ext.xml.XmlWriter
End an element without a Namespace URI or qname.
endElement(String, String) - Method in class org.restlet.ext.xml.XmlWriter
End an element without a qname.
endElement(String, String, String) - Method in class org.restlet.ext.xml.XmlWriter
Write an end tag.

F

flush() - Method in class org.restlet.ext.xml.XmlWriter
Flush the output.
forceNSDecl(String) - Method in class org.restlet.ext.xml.XmlWriter
Force a Namespace to be declared on the root element.
forceNSDecl(String, String) - Method in class org.restlet.ext.xml.XmlWriter
Force a Namespace declaration with a preferred prefix.

G

get(int) - Method in class org.restlet.ext.xml.NodeList
 
getBoolean(String) - Method in class org.restlet.ext.xml.XmlRepresentation
Evaluates an XPath expression as a boolean.
getDocument() - Method in class org.restlet.ext.xml.DomRepresentation
Returns the wrapped DOM document.
getDocument() - Method in class org.restlet.ext.xml.XmlRepresentation
Returns the XML representation as a DOM document.
getDocumentBuilder() - Method in class org.restlet.ext.xml.XmlRepresentation
Returns a document builder properly configured.
getDomSource() - Method in class org.restlet.ext.xml.DomRepresentation
Returns a DOM source.
getDomSource() - Method in class org.restlet.ext.xml.XmlRepresentation
Returns a DOM source.
getEntityResolver() - Method in class org.restlet.ext.xml.XmlRepresentation
Return the possibly null current SAX EntityResolver.
getErrorHandler() - Method in class org.restlet.ext.xml.XmlRepresentation
Return the possibly null current SAX ErrorHandler.
getErrorListener() - Method in class org.restlet.ext.xml.TransformRepresentation
Returns the transformer's error listener.
getIndentStep() - Method in class org.restlet.ext.xml.XmlWriter
Return the current indent step.
getInputSource() - Method in class org.restlet.ext.xml.DomRepresentation
 
getInputSource() - Method in class org.restlet.ext.xml.SaxRepresentation
 
getInputSource() - Method in class org.restlet.ext.xml.XmlRepresentation
Returns the XML representation as a SAX input source.
getLength() - Method in class org.restlet.ext.xml.NodeList
getMode() - Method in class org.restlet.ext.xml.Transformer
Returns the transformation mode.
getNamespaces() - Method in class org.restlet.ext.xml.XmlRepresentation
Returns the map of namespaces.
getNamespaceURI(String) - Method in class org.restlet.ext.xml.XmlRepresentation
getNode(String) - Method in class org.restlet.ext.xml.XmlRepresentation
Evaluates an XPath expression as a DOM Node.
getNodes(String) - Method in class org.restlet.ext.xml.XmlRepresentation
Evaluates an XPath expression as a DOM NodeList.
getNumber(String) - Method in class org.restlet.ext.xml.XmlRepresentation
Evaluates an XPath expression as a number.
getObjectClasses(Variant) - Method in class org.restlet.ext.xml.XmlConverter
 
getOutputProperties() - Method in class org.restlet.ext.xml.TransformRepresentation
Returns the modifiable map of JAXP transformer output properties.
getParameters() - Method in class org.restlet.ext.xml.TransformRepresentation
Returns the modifiable map of JAXP transformer parameters.
getPrefix(String) - Method in class org.restlet.ext.xml.XmlRepresentation
getPrefix(String) - Method in class org.restlet.ext.xml.XmlWriter
Get the current or preferred prefix for a Namespace URI.
getPrefixes(String) - Method in class org.restlet.ext.xml.XmlRepresentation
getResultCharacterSet() - Method in class org.restlet.ext.xml.Transformer
Returns the character set of the result representation.
getResultEncodings() - Method in class org.restlet.ext.xml.Transformer
Returns the modifiable list of encodings of the result representation.
getResultLanguages() - Method in class org.restlet.ext.xml.Transformer
Returns the modifiable list of languages of the result representation.
getResultMediaType() - Method in class org.restlet.ext.xml.Transformer
Returns the media type of the result representation.
getSaxSource() - Method in class org.restlet.ext.xml.SaxRepresentation
Returns the SAX source that can be parsed by the SaxRepresentation.parse(ContentHandler) method or used for an XSLT transformation.
getSaxSource() - Method in class org.restlet.ext.xml.TransformRepresentation
Returns the SAX source associated to the source representation.
getSaxSource(Representation) - Static method in class org.restlet.ext.xml.XmlRepresentation
Returns a SAX source.
getSaxSource() - Method in class org.restlet.ext.xml.XmlRepresentation
Returns a SAX source.
getSchema() - Method in class org.restlet.ext.xml.XmlRepresentation
Return the possibly null Schema to use for this type of XML representations.
getSourceRepresentation() - Method in class org.restlet.ext.xml.TransformRepresentation
Returns the source representation to transform.
getStreamSource() - Method in class org.restlet.ext.xml.XmlRepresentation
Returns a stream of XML markup.
getTemplates() - Method in class org.restlet.ext.xml.TransformRepresentation
Returns the templates to be used and reused.
getText(String) - Method in class org.restlet.ext.xml.XmlRepresentation
Evaluates an XPath expression as a string.
getTransformer() - Method in class org.restlet.ext.xml.TransformRepresentation
Returns a new transformer to be used.
getTransformerHandler() - Method in class org.restlet.ext.xml.TransformRepresentation
Returns the SAX transformer handler associated to the transform sheet.
getTransformSheet() - Method in class org.restlet.ext.xml.Transformer
Returns the XSLT transform sheet to apply to message entities.
getTransformSheet() - Method in class org.restlet.ext.xml.TransformRepresentation
Returns the XSLT transform sheet to apply to the source representation.
getUriResolver() - Method in class org.restlet.ext.xml.TransformRepresentation
Returns the URI resolver.
getVariants(Class<?>) - Method in class org.restlet.ext.xml.XmlConverter
 
getWriter() - Method in class org.restlet.ext.xml.XmlWriter
Returns the underlying writer.
getXmlFilter() - Method in class org.restlet.ext.xml.TransformRepresentation
Returns the SAX XML filter applying the transform sheet to its input.

I

ignorableWhitespace(char[], int, int) - Method in class org.restlet.ext.xml.XmlWriter
Write ignorable whitespace.
isCoalescing() - Method in class org.restlet.ext.xml.XmlRepresentation
Indicates if the parser should be coalescing text.
isDataFormat() - Method in class org.restlet.ext.xml.XmlWriter
 
isExpandingEntityRefs() - Method in class org.restlet.ext.xml.XmlRepresentation
Indicates if the parser will expand entity reference nodes.
isIgnoringComments() - Method in class org.restlet.ext.xml.XmlRepresentation
Indicates if the parser will ignore comments.
isIgnoringExtraWhitespaces() - Method in class org.restlet.ext.xml.XmlRepresentation
Indicates if the parser will ignore extra white spaces in element content.
isIndenting() - Method in class org.restlet.ext.xml.DomRepresentation
Indicates if the XML serialization should be indented.
isNamespaceAware() - Method in class org.restlet.ext.xml.XmlRepresentation
Indicates if processing is namespace aware.
isSecureProcessing() - Method in class org.restlet.ext.xml.SaxRepresentation
Indicates if it limits potential XML overflow attacks.
isValidatingDtd() - Method in class org.restlet.ext.xml.XmlRepresentation
Indicates the desire for validating this type of XML representations against an XML schema if one is referenced within the contents.
isXIncludeAware() - Method in class org.restlet.ext.xml.XmlRepresentation
Indicates the desire for processing XInclude if found in this type of XML representations.
item(int) - Method in class org.restlet.ext.xml.NodeList

M

MODE_REQUEST - Static variable in class org.restlet.ext.xml.Transformer
Mode that transforms request entities before their handling by the attached Restlet.
MODE_RESPONSE - Static variable in class org.restlet.ext.xml.Transformer
Mode that transforms response entities after their handling by the attached Restlet.

N

NodeList - Class in org.restlet.ext.xml
DOM nodes set that implements the standard List interface for easier iteration.
NodeList(NodeList) - Constructor for class org.restlet.ext.xml.NodeList
Constructor.

O

org.restlet.ext.xml - package org.restlet.ext.xml
Support for XML and XSLT representations.

P

parse(ContentHandler) - Method in class org.restlet.ext.xml.SaxRepresentation
Parses the source and sends SAX events to a content handler.
processingInstruction(String, String) - Method in class org.restlet.ext.xml.XmlWriter
Write a processing instruction.

R

release() - Method in class org.restlet.ext.xml.DomRepresentation
Releases the wrapped DOM document and the source XML representation if they have been defined.
release() - Method in class org.restlet.ext.xml.SaxRepresentation
Releases the namespaces map.
release() - Method in class org.restlet.ext.xml.TransformRepresentation
Releases the source and transform sheet representations, the transformer and the URI resolver.
release() - Method in class org.restlet.ext.xml.XmlRepresentation
Releases the namespaces map.
reset() - Method in class org.restlet.ext.xml.XmlWriter
Reset the writer.

S

SaxRepresentation - Class in org.restlet.ext.xml
XML representation for SAX events processing.
SaxRepresentation() - Constructor for class org.restlet.ext.xml.SaxRepresentation
Default constructor.
SaxRepresentation(MediaType) - Constructor for class org.restlet.ext.xml.SaxRepresentation
Constructor.
SaxRepresentation(MediaType, Document) - Constructor for class org.restlet.ext.xml.SaxRepresentation
Constructor.
SaxRepresentation(MediaType, InputSource) - Constructor for class org.restlet.ext.xml.SaxRepresentation
Constructor.
SaxRepresentation(MediaType, SAXSource) - Constructor for class org.restlet.ext.xml.SaxRepresentation
Constructor.
SaxRepresentation(Representation) - Constructor for class org.restlet.ext.xml.SaxRepresentation
Constructor.
score(Object, Variant, Resource) - Method in class org.restlet.ext.xml.XmlConverter
 
score(Representation, Class<T>, Resource) - Method in class org.restlet.ext.xml.XmlConverter
 
setCoalescing(boolean) - Method in class org.restlet.ext.xml.XmlRepresentation
Indicates if the parser should be coalescing text.
setDataFormat(boolean) - Method in class org.restlet.ext.xml.XmlWriter
 
setDocument(Document) - Method in class org.restlet.ext.xml.DomRepresentation
Sets the wrapped DOM document.
setEntityResolver(EntityResolver) - Method in class org.restlet.ext.xml.XmlRepresentation
Set the EntityResolver to use when resolving external entity references encountered in this type of XML representations.
setErrorHandler(ErrorHandler) - Method in class org.restlet.ext.xml.XmlRepresentation
Set the ErrorHandler to use when signaling SAX event exceptions.
setErrorListener(ErrorListener) - Method in class org.restlet.ext.xml.TransformRepresentation
Sets the transformer's error listener.
setExpandingEntityRefs(boolean) - Method in class org.restlet.ext.xml.XmlRepresentation
Indicates if the parser will expand entity reference nodes.
setIgnoringComments(boolean) - Method in class org.restlet.ext.xml.XmlRepresentation
Indicates if the parser will ignore comments.
setIgnoringExtraWhitespaces(boolean) - Method in class org.restlet.ext.xml.XmlRepresentation
Indicates if the parser will ignore extra white spaces in element content.
setIndenting(boolean) - Method in class org.restlet.ext.xml.DomRepresentation
Indicates if the XML serialization should be indented.
setIndentStep(int) - Method in class org.restlet.ext.xml.XmlWriter
Set the current indent step.
setMode(int) - Method in class org.restlet.ext.xml.Transformer
Sets the transformation mode.
setNamespaceAware(boolean) - Method in class org.restlet.ext.xml.XmlRepresentation
Indicates if processing is namespace aware.
setNamespaces(Map<String, String>) - Method in class org.restlet.ext.xml.XmlRepresentation
Sets the map of namespaces.
setOutput(Writer) - Method in class org.restlet.ext.xml.XmlWriter
Set a new output destination for the document.
setOutputProperties(Map<String, String>) - Method in class org.restlet.ext.xml.TransformRepresentation
Sets the modifiable map of JAXP transformer output properties.
setParameters(Map<String, Object>) - Method in class org.restlet.ext.xml.TransformRepresentation
Sets the JAXP transformer parameters.
setPrefix(String, String) - Method in class org.restlet.ext.xml.XmlWriter
Specify a preferred prefix for a Namespace URI.
setResultCharacterSet(CharacterSet) - Method in class org.restlet.ext.xml.Transformer
Sets the character set of the result representation.
setResultEncodings(List<Encoding>) - Method in class org.restlet.ext.xml.Transformer
Sets the encodings of the result representation.
setResultLanguages(List<Language>) - Method in class org.restlet.ext.xml.Transformer
Sets the languages of the result representation.
setResultMediaType(MediaType) - Method in class org.restlet.ext.xml.Transformer
Sets the media type of the result representation.
setSaxSource(SAXSource) - Method in class org.restlet.ext.xml.SaxRepresentation
Sets a SAX source that can be parsed by the SaxRepresentation.parse(ContentHandler) method.
setSchema(Schema) - Method in class org.restlet.ext.xml.XmlRepresentation
Set a (compiled) Schema to use when parsing and validating this type of XML representations.
setSchema(Representation) - Method in class org.restlet.ext.xml.XmlRepresentation
Set a schema representation to be compiled and used when parsing and validating this type of XML representations.
setSecureProcessing(boolean) - Method in class org.restlet.ext.xml.SaxRepresentation
Indicates if it limits potential XML overflow attacks.
setSourceRepresentation(Representation) - Method in class org.restlet.ext.xml.TransformRepresentation
Sets the source representation to transform.
setTemplates(Templates) - Method in class org.restlet.ext.xml.TransformRepresentation
Sets the templates to be used and reused.
setTransformSheet(Representation) - Method in class org.restlet.ext.xml.Transformer
Sets the XSLT transform sheet to apply to message entities.
setTransformSheet(Representation) - Method in class org.restlet.ext.xml.TransformRepresentation
Sets the XSLT transform sheet to apply to message entities.
setUriResolver(URIResolver) - Method in class org.restlet.ext.xml.TransformRepresentation
Sets the URI resolver.
setValidatingDtd(boolean) - Method in class org.restlet.ext.xml.XmlRepresentation
Indicates the desire for validating this type of XML representations against an XML schema if one is referenced within the contents.
setXIncludeAware(boolean) - Method in class org.restlet.ext.xml.XmlRepresentation
Indicates the desire for processing XInclude if found in this type of XML representations.
size() - Method in class org.restlet.ext.xml.NodeList
 
startDocument() - Method in class org.restlet.ext.xml.XmlWriter
Write the XML declaration at the beginning of the document.
startElement(String) - Method in class org.restlet.ext.xml.XmlWriter
Start a new element without a qname, attributes or a Namespace URI.
startElement(String, String) - Method in class org.restlet.ext.xml.XmlWriter
Start a new element without a qname or attributes.
startElement(String, String, String, Attributes) - Method in class org.restlet.ext.xml.XmlWriter
Write a start tag.

T

toObject(Representation, Class<T>, Resource) - Method in class org.restlet.ext.xml.XmlConverter
 
toRepresentation(Object, Variant, Resource) - Method in class org.restlet.ext.xml.XmlConverter
 
toSaxSource(Representation) - Static method in class org.restlet.ext.xml.TransformRepresentation
Wraps a source representation into a SAXSource.
transform(Representation) - Method in class org.restlet.ext.xml.Transformer
Transforms a source XML representation by applying an XSLT transform sheet to it.
transform(Source, Result) - Method in class org.restlet.ext.xml.TransformRepresentation
Transforms the given JAXP source into the given result.
Transformer - Class in org.restlet.ext.xml
Filter that can transform XML representations by applying an XSLT transform sheet.
Transformer(int, Representation) - Constructor for class org.restlet.ext.xml.Transformer
Constructor.
TransformRepresentation - Class in org.restlet.ext.xml
Representation able to apply an XSLT transformation.
TransformRepresentation(Context, Representation, Representation) - Constructor for class org.restlet.ext.xml.TransformRepresentation
Constructor.
TransformRepresentation(Representation, Representation) - Constructor for class org.restlet.ext.xml.TransformRepresentation
Default constructor.
TransformRepresentation(URIResolver, Representation, Representation) - Constructor for class org.restlet.ext.xml.TransformRepresentation
Constructor.
TransformRepresentation(URIResolver, Representation, Templates) - Constructor for class org.restlet.ext.xml.TransformRepresentation
Constructor.

U

updatePreferences(List<Preference<MediaType>>, Class<T>) - Method in class org.restlet.ext.xml.XmlConverter
 

V

validate(Schema) - Method in class org.restlet.ext.xml.XmlRepresentation
Validates the XML representation against a given schema.
validate(Schema, Result) - Method in class org.restlet.ext.xml.XmlRepresentation
Validates the XML representation against a given schema.
validate(Representation) - Method in class org.restlet.ext.xml.XmlRepresentation
Validates the XML representation against a given schema.
validate(Representation, Result) - Method in class org.restlet.ext.xml.XmlRepresentation
Validates the XML representation against a given schema.

W

write(Writer) - Method in class org.restlet.ext.xml.DomRepresentation
 
write(Writer) - Method in class org.restlet.ext.xml.SaxRepresentation
 
write(XmlWriter) - Method in class org.restlet.ext.xml.SaxRepresentation
Writes the representation to a XML writer.
write(Result) - Method in class org.restlet.ext.xml.TransformRepresentation
Writes the transformed source into the given JAXP result.
write(Writer) - Method in class org.restlet.ext.xml.TransformRepresentation
Writes the transformed source into the given output stream.

X

XML_EXPANDING_ENTITY_REFS - Static variable in class org.restlet.ext.xml.XmlRepresentation
True for expanding entity references when parsing XML representations; default value provided by system property "org.restlet.ext.xml.expandingEntityRefs", false by default.
XML_SECURE_PROCESSING - Static variable in class org.restlet.ext.xml.SaxRepresentation
True for turning on secure parsing XML representations; default value provided by system property "org.restlet.ext.xml.secureProcessing", true by default.
XML_VALIDATING_DTD - Static variable in class org.restlet.ext.xml.XmlRepresentation
True for validating DTD documents when parsing XML representations; default value provided by system property "org.restlet.ext.xml.validatingDtd", false by default.
XmlConverter - Class in org.restlet.ext.xml
Converter between the XML APIs and XML Representation classes.
XmlConverter() - Constructor for class org.restlet.ext.xml.XmlConverter
 
XmlRepresentation - Class in org.restlet.ext.xml
Representation based on an XML document.
XmlRepresentation(MediaType) - Constructor for class org.restlet.ext.xml.XmlRepresentation
Constructor.
XmlRepresentation(MediaType, long) - Constructor for class org.restlet.ext.xml.XmlRepresentation
Constructor.
XmlWriter - Class in org.restlet.ext.xml
XML writer doing the opposite work of a SAX-based XML reader.
XmlWriter() - Constructor for class org.restlet.ext.xml.XmlWriter
Create a new XML writer.
XmlWriter(OutputStream) - Constructor for class org.restlet.ext.xml.XmlWriter
Constructor.
XmlWriter(OutputStream, Charset) - Constructor for class org.restlet.ext.xml.XmlWriter
Constructor.
XmlWriter(OutputStream, CharsetEncoder) - Constructor for class org.restlet.ext.xml.XmlWriter
Constructor.
XmlWriter(OutputStream, String) - Constructor for class org.restlet.ext.xml.XmlWriter
Constructor.
XmlWriter(Writer) - Constructor for class org.restlet.ext.xml.XmlWriter
Create a new XML writer.
XmlWriter(XMLReader) - Constructor for class org.restlet.ext.xml.XmlWriter
Create a new XML writer.
XmlWriter(XMLReader, Writer) - Constructor for class org.restlet.ext.xml.XmlWriter
Create a new XML writer.
A B C D E F G I M N O P R S T U V W X 

Copyright © 2005-2017 Restlet.