public final class PackageRelationship extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ID_ATTRIBUTE_NAME |
static String |
RELATIONSHIP_TAG_NAME |
static String |
RELATIONSHIPS_TAG_NAME |
static String |
TARGET_ATTRIBUTE_NAME |
static String |
TARGET_MODE_ATTRIBUTE_NAME |
static String |
TYPE_ATTRIBUTE_NAME |
Constructor and Description |
---|
PackageRelationship(OPCPackage pkg,
PackagePart sourcePart,
URI targetUri,
TargetMode targetMode,
String relationshipType,
String id)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static URI |
getContainerPartRelationship() |
String |
getId() |
OPCPackage |
getPackage() |
String |
getRelationshipType() |
PackagePart |
getSource() |
URI |
getSourceURI() |
TargetMode |
getTargetMode()
public URI getSourceUri(){ }
|
URI |
getTargetURI() |
int |
hashCode() |
String |
toString() |
public static final String ID_ATTRIBUTE_NAME
public static final String RELATIONSHIPS_TAG_NAME
public static final String RELATIONSHIP_TAG_NAME
public static final String TARGET_ATTRIBUTE_NAME
public static final String TARGET_MODE_ATTRIBUTE_NAME
public static final String TYPE_ATTRIBUTE_NAME
public PackageRelationship(OPCPackage pkg, PackagePart sourcePart, URI targetUri, TargetMode targetMode, String relationshipType, String id)
pkg
- sourcePart
- targetUri
- targetMode
- relationshipType
- id
- public static URI getContainerPartRelationship()
public OPCPackage getPackage()
public String getId()
public String getRelationshipType()
public PackagePart getSource()
public URI getSourceURI()
public TargetMode getTargetMode()
public URI getTargetURI()
Copyright © 2020. All rights reserved.