|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.afp.modca.AbstractAFPObject
org.apache.fop.afp.modca.triplets.AbstractTriplet
org.apache.fop.afp.modca.triplets.FullyQualifiedNameTriplet
public class FullyQualifiedNameTriplet
A Fully Qualified Name triplet enable the identification and referencing of objects using Gloabl Identifiers (GIDs).
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.fop.afp.modca.AbstractAFPObject |
---|
AbstractAFPObject.Category, AbstractAFPObject.Type |
Field Summary | |
---|---|
static byte |
FORMAT_CHARSTR
The GID is a character encoded name. |
static byte |
FORMAT_OID
the GID is a ASN.1 object identifier (OID). |
static byte |
FORMAT_URL
the GID is a uniform resource locator (URL). |
static byte |
TYPE_ATTRIBUTE_GID
The triplet contains a GID reference to a document attribute. |
static byte |
TYPE_BEGIN_DOCUMENT_INDEX_REF
The triplet contains a GID reference to a begin document index structured field. |
static byte |
TYPE_BEGIN_DOCUMENT_REF
The triplet contains a reference to a begin document structured field. |
static byte |
TYPE_BEGIN_MEDIUM_MAP_REF
The triplet contains a GID reference to a begin medium map structured field. |
static byte |
TYPE_BEGIN_OVERLAY_REF
The triplet contains a GID reference to a begin overlay structured field. |
static byte |
TYPE_BEGIN_PAGE_GROUP_REF
The triplet contains a reference to a begin page group structured field. |
static byte |
TYPE_BEGIN_PAGE_REF
The triplet contains a GID reference to a begin page structured field. |
static byte |
TYPE_BEGIN_RESOURCE_GROUP_REF
The triplet contains a GID reference to a begin resource group structured field. |
static byte |
TYPE_BEGIN_RESOURCE_OBJECT_REF
The triplet contains a reference to a begin structured field associated with a resource; or contains a GID reference to a coded font. |
static byte |
TYPE_CODE_PAGE_NAME_REF
The triplet contains a GID reference to a code page that specifies the code points and graphic character names for a coded font. |
static byte |
TYPE_CODED_FONT_NAME_REF
The triplet contains a GID reference to a coded font, which identifies a specific code page and a specific font character set. |
static byte |
TYPE_COLOR_MANAGEMENT_RESOURCE_REF
The triplet contains a reference to a color management resource. |
static byte |
TYPE_DATA_OBJECT_EXTERNAL_RESOURCE_REF
The triplet contains a reference to a resource used by a data object. |
static byte |
TYPE_DATA_OBJECT_FONT_BASE_FONT_ID
The triplet contains a reference to a data-object font file that defines a base font. |
static byte |
TYPE_DATA_OBJECT_FONT_LINKED_FONT_ID
The triplet contains a reference to a data-object font file that defines a linked font. |
static byte |
TYPE_DATA_OBJECT_INTERNAL_RESOURCE_REF
The triplet contains a GID reference to a resource used by a data object. |
static byte |
TYPE_FONT_CHARSET_NAME_REF
The triplet contains a GID name reference to a font character set that specifies a set of graphics characters. |
static byte |
TYPE_FONT_FAMILY_NAME
This triplet contains the name of a font family. |
static byte |
TYPE_FONT_TYPEFACE_NAME
This triplet contains the name of a font typeface. |
static byte |
TYPE_INDEX_ELEMENT_GID
The triplet contains a GID reference to an index element structured field. |
static byte |
TYPE_MEDIA_TYPE_REF
The triplet contains a reference to a media type. |
static byte |
TYPE_MODCA_RESOURCE_HIERARCHY_REF
This triplet specifies a reference to the MO:DCA resource hierarchy. |
static byte |
TYPE_OTHER_OBJECT_DATA_REF
The triplet contains a reference to other object data which may or may not be defined by an IBM presentation architecture. |
static byte |
TYPE_PROCESS_ELEMENT_GID
The triplet contains the GID of a process element. |
static byte |
TYPE_REPLACE_FIRST_GID_NAME
This GID replaces the first parameter in the structured field that contains a GID name. |
Fields inherited from class org.apache.fop.afp.modca.triplets.AbstractTriplet |
---|
id |
Fields inherited from class org.apache.fop.afp.modca.AbstractAFPObject |
---|
log, SF_CLASS, SF_HEADER |
Constructor Summary | |
---|---|
FullyQualifiedNameTriplet(byte type,
byte format,
java.lang.String fqName)
Main constructor |
Method Summary | |
---|---|
int |
getDataLength()
Returns the data length of this structured field |
java.lang.String |
getFullyQualifiedName()
Returns the actual fully qualified name |
java.lang.String |
toString()
|
void |
writeToStream(java.io.OutputStream os)
DataStream objects must implement the writeToStream() method to write its data to the given OutputStream |
Methods inherited from class org.apache.fop.afp.modca.triplets.AbstractTriplet |
---|
getData, getId |
Methods inherited from class org.apache.fop.afp.modca.AbstractAFPObject |
---|
copyChunks, copySF, copySF, truncate, writeChunksToStream, writeObjects |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final byte TYPE_REPLACE_FIRST_GID_NAME
public static final byte TYPE_FONT_FAMILY_NAME
public static final byte TYPE_FONT_TYPEFACE_NAME
public static final byte TYPE_MODCA_RESOURCE_HIERARCHY_REF
public static final byte TYPE_BEGIN_RESOURCE_GROUP_REF
public static final byte TYPE_ATTRIBUTE_GID
public static final byte TYPE_PROCESS_ELEMENT_GID
public static final byte TYPE_BEGIN_PAGE_GROUP_REF
public static final byte TYPE_MEDIA_TYPE_REF
public static final byte TYPE_COLOR_MANAGEMENT_RESOURCE_REF
public static final byte TYPE_DATA_OBJECT_FONT_BASE_FONT_ID
public static final byte TYPE_DATA_OBJECT_FONT_LINKED_FONT_ID
public static final byte TYPE_BEGIN_DOCUMENT_REF
public static final byte TYPE_BEGIN_RESOURCE_OBJECT_REF
public static final byte TYPE_CODE_PAGE_NAME_REF
public static final byte TYPE_FONT_CHARSET_NAME_REF
public static final byte TYPE_BEGIN_PAGE_REF
public static final byte TYPE_BEGIN_MEDIUM_MAP_REF
public static final byte TYPE_CODED_FONT_NAME_REF
public static final byte TYPE_BEGIN_DOCUMENT_INDEX_REF
public static final byte TYPE_BEGIN_OVERLAY_REF
public static final byte TYPE_DATA_OBJECT_INTERNAL_RESOURCE_REF
public static final byte TYPE_INDEX_ELEMENT_GID
public static final byte TYPE_OTHER_OBJECT_DATA_REF
public static final byte TYPE_DATA_OBJECT_EXTERNAL_RESOURCE_REF
public static final byte FORMAT_CHARSTR
public static final byte FORMAT_OID
public static final byte FORMAT_URL
Constructor Detail |
---|
public FullyQualifiedNameTriplet(byte type, byte format, java.lang.String fqName)
type
- the fully qualified name typeformat
- the fully qualified name formatfqName
- the fully qualified nameMethod Detail |
---|
public java.lang.String getFullyQualifiedName()
public java.lang.String toString()
toString
in class java.lang.Object
public int getDataLength()
public void writeToStream(java.io.OutputStream os) throws java.io.IOException
os
- the outputsteam stream
java.io.IOException
- an I/O exception of some sort has occurred.
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |