|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.appengine.api.conversion.Document
public final class Document
An immutable document for conversion. A document must contain at least one asset, typically the document contents. Additional assets are those needed for the conversion, for example images in HTML.
Constructor Summary | |
---|---|
Document(Asset firstAsset)
Constructs a document. |
|
Document(java.util.List<Asset> assets)
Constructs a document. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
java.util.List<Asset> |
getAssets()
Returns all assets associated with the document. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Document(Asset firstAsset)
firstAsset
- the first asset to addpublic Document(java.util.List<Asset> assets)
assets
- a list of assets to add
java.lang.IllegalArgumentException
- if the assets list is emptyMethod Detail |
---|
public java.util.List<Asset> getAssets()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |