Completable
, Streamable
public class ResourceEnvironmentGroup extends AbstractEnvironmentGroup implements Completable
AbstractAFPObject.Category, AbstractAFPObject.Type
LOG, SF_CLASS, SF_HEADER_LENGTH
mapDataResources, mapPageOverlays
name
triplets
Constructor | Description |
---|---|
ResourceEnvironmentGroup() |
Default constructor
|
ResourceEnvironmentGroup(java.lang.String name) |
Constructor for the ResourceEnvironmentGroup, this takes a
name parameter which must be 8 characters long.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
isComplete() |
Returns true if this object is complete
|
void |
setComplete(boolean complete) |
Sets whether or not this object is complete or not
|
protected void |
writeContent(java.io.OutputStream os) |
Helper method to write the contents of the Object.
|
protected void |
writeEnd(java.io.OutputStream os) |
Helper method to write the end of the Object.
|
protected void |
writeStart(java.io.OutputStream os) |
Helper method to write the start of the Object.
|
copySF, truncate, writeChunksToStream, writeObjects
createOverlay, getLastElement
copySF, getName, getNameBytes, getNameLength, setName, toString
writeToStream
addTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setFullyQualifiedName, setObjectClassification, writeTriplets
public ResourceEnvironmentGroup()
public ResourceEnvironmentGroup(java.lang.String name)
name
- the resource environment group nameprotected void writeStart(java.io.OutputStream os) throws java.io.IOException
writeStart
in class AbstractStructuredObject
os
- The stream to write tojava.io.IOException
- throws an I/O exception if one occurredprotected void writeEnd(java.io.OutputStream os) throws java.io.IOException
writeEnd
in class AbstractStructuredObject
os
- The stream to write tojava.io.IOException
- an I/O exception if one occurredprotected void writeContent(java.io.OutputStream os) throws java.io.IOException
writeContent
in class AbstractEnvironmentGroup
os
- The stream to write tojava.io.IOException
- throws an I/O exception if one occurredpublic void setComplete(boolean complete)
setComplete
in interface Completable
complete
- true if this object is completepublic boolean isComplete()
isComplete
in interface Completable
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.