Class GenericArtifactJSONWriter
java.lang.Object
org.wso2.carbon.governance.rest.api.internal.GenericArtifactJSONWriter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionevaluateXpath(org.apache.axiom.om.OMElement contentElement, String xpathString, String nsPrefix) This method is used to evaluate an xpath.voidwriteTo(TypedList<org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifact> typedList, OutputStream entityStream, String baseURI)
-
Field Details
-
ASSETS
- See Also:
-
INDENT
- See Also:
-
NAME
- See Also:
-
ID
- See Also:
-
TYPE
- See Also:
-
OVERVIEW
- See Also:
-
OVERVIEW_TYPE
- See Also:
-
SELF_LINK
- See Also:
-
CONTENT_LINK
- See Also:
-
LINKS
- See Also:
-
SELF
- See Also:
-
PREV
- See Also:
-
NEXT
- See Also:
-
BELONG_TO
- See Also:
-
ENTRY
- See Also:
-
-
Constructor Details
-
GenericArtifactJSONWriter
public GenericArtifactJSONWriter()
-
-
Method Details
-
writeTo
public void writeTo(TypedList<org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifact> typedList, OutputStream entityStream, String baseURI) throws IOException, org.wso2.carbon.governance.api.exception.GovernanceException - Throws:
IOExceptionorg.wso2.carbon.governance.api.exception.GovernanceException
-
evaluateXpath
public List evaluateXpath(org.apache.axiom.om.OMElement contentElement, String xpathString, String nsPrefix) This method is used to evaluate an xpath.- Parameters:
contentElement- OM element that the xpath is bean evaluated.xpathString- xPathnsPrefix- namespace prefix- Returns:
-