|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvnet.ws.wadl.ast.AbstractNode
org.jvnet.ws.wadl.ast.RepresentationNode
public class RepresentationNode
Represents a WADL representation.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jvnet.ws.wadl.ast.AbstractNode |
|---|
AbstractNode.NodeVisitor |
| Constructor Summary | |
|---|---|
RepresentationNode(Representation r)
Creates a new instance of RepresentationNode. |
|
| Method Summary | |
|---|---|
List<Doc> |
getDoc()
List of child documentation elements. |
QName |
getElement()
Get the XML root element name for the representation. |
String |
getId()
Get the representation id (if any). |
Locator |
getLocation()
|
String |
getMediaType()
Get the media type of the representation. |
String |
getMediaTypeAsClassName()
Convenience function for generating a suitable Java class name for this WADL representation based on the media type. |
String |
getOtherAttribute(QName attribute)
|
List<Param> |
getParam()
Get a list of child parameters. |
List<String> |
getProfiles()
Get the list of link profiles used to described the relationships of embedded links. |
| Methods inherited from class org.jvnet.ws.wadl.ast.AbstractNode |
|---|
visit |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RepresentationNode(Representation r)
r - the unmarshalled JAXB-generated representation object.| Method Detail |
|---|
public String getMediaTypeAsClassName()
public String getMediaType()
public List<String> getProfiles()
public QName getElement()
public List<Param> getParam()
public List<Doc> getDoc()
public String getId()
public Locator getLocation()
getLocation in class AbstractNodepublic String getOtherAttribute(QName attribute)
attribute - The QName of the attribute to be found
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||