Package org.restlet.ext.wadl
Class IncludeInfo
- java.lang.Object
-
- org.restlet.ext.wadl.DocumentedInfo
-
- org.restlet.ext.wadl.IncludeInfo
-
@Deprecated public class IncludeInfo extends DocumentedInfo
Deprecated.Will be removed in next major release.Allows inclusion of grammars by reference.
-
-
Constructor Summary
Constructors Constructor Description IncludeInfo()Deprecated.Constructor.IncludeInfo(java.lang.String documentation)Deprecated.Constructor with a single documentation element.IncludeInfo(java.util.List<DocumentationInfo> documentations)Deprecated.Constructor with a list of documentation elements.IncludeInfo(DocumentationInfo documentation)Deprecated.Constructor with a single documentation element.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ReferencegetTargetRef()Deprecated.Returns the URI of the referenced definition.voidsetTargetRef(Reference href)Deprecated.Sets the URI of the referenced definition.voidupdateNamespaces(java.util.Map<java.lang.String,java.lang.String> namespaces)Deprecated.Completes the given map of namespaces with the namespaces used in the documentation elements.voidwriteElement(XmlWriter writer)Deprecated.Writes the current object as an XML element using the given SAX writer.-
Methods inherited from class org.restlet.ext.wadl.DocumentedInfo
getDocumentations, resolveNamespaces, setDocumentation, setDocumentation, setDocumentations
-
-
-
-
Field Detail
-
targetRef
private Reference targetRef
Deprecated.URI for the referenced definitions.
-
-
Constructor Detail
-
IncludeInfo
public IncludeInfo()
Deprecated.Constructor.
-
IncludeInfo
public IncludeInfo(DocumentationInfo documentation)
Deprecated.Constructor with a single documentation element.- Parameters:
documentation- A single documentation element.
-
IncludeInfo
public IncludeInfo(java.util.List<DocumentationInfo> documentations)
Deprecated.Constructor with a list of documentation elements.- Parameters:
documentations- The list of documentation elements.
-
IncludeInfo
public IncludeInfo(java.lang.String documentation)
Deprecated.Constructor with a single documentation element.- Parameters:
documentation- A single documentation element.
-
-
Method Detail
-
getTargetRef
public Reference getTargetRef()
Deprecated.Returns the URI of the referenced definition.- Returns:
- The URI of the referenced definition.
-
setTargetRef
public void setTargetRef(Reference href)
Deprecated.Sets the URI of the referenced definition.- Parameters:
href- The URI of the referenced definition.
-
updateNamespaces
public void updateNamespaces(java.util.Map<java.lang.String,java.lang.String> namespaces)
Deprecated.Description copied from class:DocumentedInfoCompletes the given map of namespaces with the namespaces used in the documentation elements. The key is the URI of the namespace and the value, the prefix.- Specified by:
updateNamespacesin classDocumentedInfo- Parameters:
namespaces- The given map of namespaces to complete.
-
writeElement
public void writeElement(XmlWriter writer) throws org.xml.sax.SAXException
Deprecated.Writes the current object as an XML element using the given SAX writer.- Parameters:
writer- The SAX writer.- Throws:
org.xml.sax.SAXException
-
-