@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_PROCESSINGXML_EXPANDING_ENTITY_REFS, XML_VALIDATING_DTDUNKNOWN_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, writegetBoolean, 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, validategetReadergetChannel, getStream, write, writeappend, exhaust, getAvailableSize, getDigest, getDisposition, getExpirationDate, getRange, getRegistration, getSize, getText, hasKnownSize, isAvailable, isEmpty, isSelectable, isTransient, setAvailable, setDigest, setDisposition, setExpirationDate, setListener, setRange, setSize, setTransientgetModificationDate, getTag, setModificationDate, setTagcreateClientInfo, equals, getCharacterSet, getEncodings, getLanguages, getLocationRef, getMediaType, hashCode, includes, isCompatible, setCharacterSet, setEncodings, setLanguages, setLocationRef, setLocationRef, setMediaType, toStringpublic 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.IOExceptionpublic 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
SaxRepresentationSaxRepresentation.parse(ContentHandler) using the XmlWriter
parameter as the content handler. This behavior is intended to be
overridden.write in class SaxRepresentationwriter - The XML writer to write to.java.io.IOExceptionCopyright © 2005-2020 Restlet.