@Deprecated public class WadlRepresentation extends SaxRepresentation
getHtmlRepresentation()
method to work properly, you will certainly have to update your classpath
with a recent version of Apache
Xalan XSLT engine (version 2.7.1 has been successfully tested). This is
due to the XSLT
stylesheet bundled which relies on EXSLT features.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
APP_NAMESPACE
Deprecated.
Web Application Description Language namespace.
|
XML_SECURE_PROCESSING
XML_EXPANDING_ENTITY_REFS, XML_VALIDATING_DTD
UNKNOWN_SIZE
Constructor and Description |
---|
WadlRepresentation()
Deprecated.
Constructor.
|
WadlRepresentation(ApplicationInfo application)
Deprecated.
Constructor.
|
WadlRepresentation(Representation xmlRepresentation)
Deprecated.
Constructor.
|
WadlRepresentation(ResourceInfo resource)
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ApplicationInfo |
getApplication()
Deprecated.
Returns the root element of the WADL document.
|
Representation |
getHtmlRepresentation()
Deprecated.
Returns an HTML representation.
|
void |
setApplication(ApplicationInfo application)
Deprecated.
Sets the root element of the WADL document.
|
void |
write(XmlWriter writer)
Deprecated.
Writes the representation to a XML writer.
|
getInputSource, getSaxSource, isSecureProcessing, parse, release, setSaxSource, setSecureProcessing, write
getBoolean, getDocument, getDocumentBuilder, getDomSource, getEntityResolver, getErrorHandler, getNamespaces, getNamespaceURI, getNode, getNodes, getNumber, getPrefix, getPrefixes, getSaxSource, getSchema, getStreamSource, getText, isCoalescing, isExpandingEntityRefs, isIgnoringComments, isIgnoringExtraWhitespaces, isNamespaceAware, isValidatingDtd, isXIncludeAware, setCoalescing, setEntityResolver, setErrorHandler, setExpandingEntityRefs, setIgnoringComments, setIgnoringExtraWhitespaces, setNamespaceAware, setNamespaces, setSchema, setSchema, setValidatingDtd, setXIncludeAware, validate, validate, validate, validate
getReader
getChannel, getStream, write, write
append, exhaust, getAvailableSize, getDigest, getDisposition, getExpirationDate, getRange, getRegistration, getSize, getText, hasKnownSize, isAvailable, isEmpty, isSelectable, isTransient, setAvailable, setDigest, setDisposition, setExpirationDate, setListener, setRange, setSize, setTransient
getModificationDate, getTag, setModificationDate, setTag
createClientInfo, equals, getCharacterSet, getEncodings, getLanguages, getLocationRef, getMediaType, hashCode, includes, isCompatible, setCharacterSet, setEncodings, setLanguages, setLocationRef, setLocationRef, setMediaType, toString
public static final java.lang.String APP_NAMESPACE
public WadlRepresentation()
public WadlRepresentation(ApplicationInfo application)
application
- The root element of the WADL document.public WadlRepresentation(Representation xmlRepresentation) throws java.io.IOException
xmlRepresentation
- The XML WADL document.java.io.IOException
public WadlRepresentation(ResourceInfo resource)
resource
- The root element of the WADL document.public ApplicationInfo getApplication()
public Representation getHtmlRepresentation()
public void setApplication(ApplicationInfo application)
application
- The root element of the WADL document.public void write(XmlWriter writer) throws java.io.IOException
SaxRepresentation
SaxRepresentation.parse(ContentHandler)
using the XmlWriter
parameter as the content handler. This behavior is intended to be
overridden.write
in class SaxRepresentation
writer
- The XML writer to write to.java.io.IOException
Copyright © 2005-2020 Restlet.