|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
org.apache.xerces.dom.ElementNSImpl
org.cip4.jdflib.core.KElement
org.cip4.jdflib.core.JDFElement
org.cip4.jdflib.resource.JDFResource
org.cip4.jdflib.auto.JDFAutoLayout
org.cip4.jdflib.resource.JDFSignature
org.cip4.jdflib.resource.process.postpress.JDFSheet
org.cip4.jdflib.resource.process.JDFSurface
org.cip4.jdflib.resource.process.JDFLayout
public class JDFLayout
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.cip4.jdflib.auto.JDFAutoLayout |
|---|
JDFAutoLayout.EnumBaseOrdReset, JDFAutoLayout.EnumOrdReset, JDFAutoLayout.EnumSheetCountReset, JDFAutoLayout.EnumSourceWorkStyle, JDFAutoLayout.EnumTemplateType |
| Nested classes/interfaces inherited from class org.cip4.jdflib.resource.JDFResource |
|---|
JDFResource.EnumAmountMerge, JDFResource.EnumLotControl, JDFResource.EnumPartIDKey, JDFResource.EnumPartUsage, JDFResource.EnumResourceClass, JDFResource.EnumResStatus, JDFResource.EnumSpawnStatus, JDFResource.PartitionGetter |
| Nested classes/interfaces inherited from class org.cip4.jdflib.core.JDFElement |
|---|
JDFElement.EnumBoolean, JDFElement.EnumNamedColor, JDFElement.EnumNodeStatus, JDFElement.EnumOrientation, JDFElement.EnumPoolType, JDFElement.EnumSeparation, JDFElement.EnumSettingsPolicy, JDFElement.EnumValidationLevel, JDFElement.EnumVersion, JDFElement.EnumXYRelation |
| Nested classes/interfaces inherited from class org.cip4.jdflib.core.KElement |
|---|
KElement.SimpleNodeComparator, KElement.SingleAttributeComparator, KElement.SingleXPathComparator |
| Field Summary |
|---|
| Fields inherited from class org.apache.xerces.dom.ElementNSImpl |
|---|
localName, namespaceURI |
| Fields inherited from class org.apache.xerces.dom.ElementImpl |
|---|
attributes, name |
| Fields inherited from class org.apache.xerces.dom.ParentNode |
|---|
firstChild, fNodeListCache, ownerDocument |
| Fields inherited from class org.apache.xerces.dom.ChildNode |
|---|
nextSibling, previousSibling |
| Fields inherited from class org.apache.xerces.dom.NodeImpl |
|---|
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE |
| Fields inherited from interface org.w3c.dom.TypeInfo |
|---|
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION |
| Constructor Summary | |
|---|---|
JDFLayout(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String qualifiedName)
Constructor for JDFLayout |
|
JDFLayout(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName)
Constructor for JDFLayout |
|
JDFLayout(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName,
String myLocalName)
Constructor for JDFLayout |
|
| Method Summary | |
|---|---|
JDFSignature |
appendSignature()
appends a signature in both old and new Layouts if old: a |
int |
calcMaxOrd()
calculate maxOrd from all ord values, note that this is one based, i.e. the number of objects |
int |
calcNumSame()
calculate number of same printed elements, non existing slots (i.e. ords that are not on the sheet at all) are ignored |
boolean |
fromNewLayout()
generate a JDF 1.2 compatible Layout from this (1.3) |
Vector<Integer> |
getAllOrds()
get a vector of all Ord Values, multiple entries are entered multiple times |
JDFSignature |
getCreateSignature(int iSkip)
gets or appends a signature in both old and new Layouts if old: a |
JDFSignature |
getCreateSignature(String signatureName)
gets a signature in both old and new Layouts if old: a |
JDFSignature |
getSignature(int iSkip)
gets a signature in both old and new Layouts if old: a |
JDFSignature |
getSignature(String signatureName)
gets a signature in both old and new Layouts if old: a |
VElement |
getSignatureVector()
get the vector of sheets in this signature |
static boolean |
isNewLayout(JDFResource sheet)
heuristics to check which version an element of a Layout is in: 1.3 or 1.2 Note that this routine is static since it must be used on all sheets, surfaces etc. |
int |
numSignatures()
counts the number of signatures in both old and new Layouts if old: the number of |
boolean |
toNewLayout()
generate a JDF 1.3 compatible Layout from this (1.2) |
String |
toString()
toString() |
| Methods inherited from class org.cip4.jdflib.resource.process.JDFSurface |
|---|
getPlacedObject, getPlacedObjectVector, getTheAttributeInfo |
| Methods inherited from class org.cip4.jdflib.resource.process.postpress.JDFSheet |
|---|
appendBackSurface, appendFrontSurface, appendSurface, getBackSurface, getCreateBackSurface, getCreateFrontSurface, getCreateSurface, getFrontSurface, getSheetName, getSurface, getSurface, getSurfaceVector, getSurfaceVector, getTheElementInfo, hasBackSurface, hasFrontSurface, numSurfaces, refBackSurface, refFrontSurface, refSurface, removeBackSurface, removeFrontSurface |
| Methods inherited from class org.cip4.jdflib.resource.JDFSignature |
|---|
appendLayoutElement, appendSheet, getCreateLayoutElement, getCreateSheet, getCreateSheet, getLayoutElement, getLayoutElement, getLayoutElementVector, getLayoutLeaves, getMedia, getSheet, getSheet, getSheetVector, getSheetVector, getSignatureName, init, numLayoutElements, numSheets, refSheet, setSurfaceContentsBox |
| Methods inherited from class org.apache.xerces.dom.ElementNSImpl |
|---|
getBaseURI, getLocalName, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setType, setValues |
| Methods inherited from class org.apache.xerces.dom.ElementImpl |
|---|
cloneNode, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttributeNS, isEqualNode, reconcileDefaultAttributes, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData |
| Methods inherited from class org.apache.xerces.dom.ParentNode |
|---|
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, item, setTextContent, synchronizeChildren |
| Methods inherited from class org.apache.xerces.dom.ChildNode |
|---|
getNextSibling, getParentNode, getPreviousSibling |
| Methods inherited from class org.apache.xerces.dom.NodeImpl |
|---|
addEventListener, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setUserData, setUserData |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.Element |
|---|
getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS |
| Methods inherited from interface org.w3c.dom.Node |
|---|
cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasChildNodes, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setTextContent, setUserData |
| Constructor Detail |
|---|
public JDFLayout(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String qualifiedName)
myOwnerDocument - qualifiedName -
public JDFLayout(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName)
myOwnerDocument - myNamespaceURI - qualifiedName -
public JDFLayout(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName,
String myLocalName)
myOwnerDocument - myNamespaceURI - qualifiedName - myLocalName - | Method Detail |
|---|
public String toString()
JDFSignature
toString in class JDFSurfaceJDFSurface.toString()public Vector<Integer> getAllOrds()
public int calcMaxOrd()
public int calcNumSame()
public boolean toNewLayout()
public boolean fromNewLayout()
public static boolean isNewLayout(JDFResource sheet)
sheet - the Sheet, Surface, Signature or Layout to check
public JDFSignature appendSignature()
throws JDFException
appendSignature in class JDFAutoLayoutJDFExceptionpublic int numSignatures()
public JDFSignature getCreateSignature(int iSkip)
getCreateSignature in class JDFAutoLayoutiSkip - the number of signatures to skip
public JDFSignature getSignature(int iSkip)
getSignature in class JDFAutoLayoutiSkip - the number of signatures to skip
public JDFSignature getSignature(String signatureName)
signatureName - the SignatureName partition key value(new) or Signature/@Name(old)
public JDFSignature getCreateSignature(String signatureName)
throws JDFException
signatureName - the SignatureName partition key value(new) or Signature/@Name(old)
JDFExceptionpublic VElement getSignatureVector()
VElement the vector of signatures in this
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||