public class ResourceEnvironmentGroup extends AbstractEnvironmentGroup implements Completable
AbstractAFPObject.Category, AbstractAFPObject.Type
mapDataResources, mapPageOverlays
name
triplets
LOG, SF_CLASS, SF_HEADER_LENGTH
Constructor and 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 and 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.
|
createOverlay, getLastElement
copySF, getName, getNameBytes, getNameLength, setName, toString
addTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setObjectClassification, writeTriplets
writeToStream
copySF, truncate, writeChunksToStream, writeObjects
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-2012 The Apache Software Foundation. All Rights Reserved.