In package com.eden.orchid.api.resources.resource

public class ResourceWrapper extends FreeableResource

public

A Resource type that wraps another resource, optionally applying a transformation along the way.

Constructors

ResourceWrapper(OrchidResource resource) public

Parameters:

Methods

OrchidContext getContext() public
Method Annotations:
@Override

OrchidReference getReference() public
Method Annotations:
@Override

String getContent() public
Method Annotations:
@Override

JSONElement getEmbeddedData() public
Method Annotations:
@Override

void getPriority() public
Method Annotations:
@Override

void setRawContent(String rawContent) public
Method Annotations:
@Override

Parameters:
  • String rawContent
void setContent(String content) public
Method Annotations:
@Override

Parameters:
  • String content
void setEmbeddedData(JSONElement embeddedData) public
Method Annotations:
@Override

Parameters:
void setPriority(int priority) public
Method Annotations:
@Override

Parameters:
  • priority
void setShouldRender(boolean shouldRender) public
Method Annotations:
@Override

Parameters:
  • shouldRender
JSONElement queryEmbeddedData(String pointer) public
Method Annotations:
@Override

Parameters:
  • String pointer
void shouldPrecompile() public
Method Annotations:
@Override

void shouldRender() public
Method Annotations:
@Override

InputStream getContentStream() public
Method Annotations:
@Override

String getRawContent() public
Method Annotations:
@Override

String compileContent(Object data) public
Method Annotations:
@Override

Parameters:
  • Object data
String getPrecompilerExtension() public
Method Annotations:
@Override

void canUpdate() public
Method Annotations:
@Override

void canDelete() public
Method Annotations:
@Override

void update(InputStream newContent) public
Method Annotations:
@Override

Parameters:
  • InputStream newContent
void delete() public
Method Annotations:
@Override

String getTitle() public
Method Annotations:
@Override

void loadContent() protected
Method Annotations:
@Override

void free() public
Method Annotations:
@Override

String toString() public
Method Annotations:
@Override

void hashCode() public
Method Annotations:
@Override

void equals(Object obj) public
Method Annotations:
@Override

Parameters:
  • Object obj