|
|
|||||
| Package com.dassault_systemes.catweb.documents |
Class Document
|
| Class Hierarchy |
java.lang.Object | +-com.dassault_systemes.catweb.documents.Document
| Class Location |
| Class Description |
public class Document
Basic Document Class
All Implemented Interfaces: PersistableAsXML Cloneable
| Field Summary |
| protected String | extension
|
| protected String | pathName
|
| protected float | unit
|
| protected String | url
|
| protected byte[] | UUID
|
| protected float[] | xform
|
| public static String | XML_CLASSNAME
|
| protected static String | XML_EXTENSION
|
| protected static String | XML_PATHNAME
|
| public static String | XML_TAG
|
| protected static final byte[] | zero_UUID
|
| Constructor Summary |
| Document(Document doc)
Copy Constructor |
| Document(byte[] _UUID, String _pathName)
Constructor with uuid and path name parameters. |
| Document()
The default constructor. |
| Document(String _pathName)
Constructor with pathanme. |
| Method Summary |
| public void | copy(Document d)
|
| public static Document | createDocumentFromURL(String url)
|
| public void | dispose()
|
| public Document | duplicate()
|
| public String | getExtension()
Returns the extension of the document |
| public float | getModelUnit()
Returns the model unit used. |
| public String | getPathName()
Returns the path name of the document |
| public String | getPortalURLString()
|
| public byte[] | getUUID()
Returns the UUID of the document |
| public float[] | getXForm()
|
| public boolean | isEqual(Object o)
Compares the equality of an object with this instance |
| public boolean | isZeroUUID()
|
| public void | setExtension(String newExtension)
Sets the extension of the document |
| public void | setModelUnit(float _unit)
Sets the momdel unit used. |
| public void | setPathName(String _pathName)
Sets the path name of the document |
| public void | setURL(String url)
|
| public void | setUUID(byte[] uuid)
Sets the uuid of the document |
| public void | setXForm(float[] _xform)
|
| public String | toString()
Constructs and returns a string representation of this Document. |
| Field Detail |
protected String extension
protected String pathName
protected float unit
protected String url
protected byte[] UUID
protected float[] xform
public static String XML_CLASSNAME
protected static String XML_EXTENSION
protected static String XML_PATHNAME
public static String XML_TAG
protected static final byte[] zero_UUID
| Constructor Detail |
Document(Document doc)
Copy Constructor
doc
Document(byte[] _UUID, String _pathName)
Constructor with uuid and path name parameters.
_UUID_pathName
Document()
The default constructor.
Document(String _pathName)
Constructor with pathanme.
_pathName| Method Detail |
public void copy(Document d)
public static Document createDocumentFromURL(String url)
public void dispose()
public Document duplicate()
public String getExtension()
Returns the extension of the document
public float getModelUnit()
Returns the model unit used.
public String getPathName()
Returns the path name of the document
public String getPortalURLString()
public byte[] getUUID()
Returns the UUID of the document
public float[] getXForm()
public boolean isEqual(Object o)
Compares the equality of an object with this instance
o
public boolean isZeroUUID()
public void setExtension(String newExtension)
Sets the extension of the document
public void setModelUnit(float _unit)
Sets the momdel unit used.
public void setPathName(String _pathName)
Sets the path name of the document
public void setURL(String url)
public void setUUID(byte[] uuid)
Sets the uuid of the document
public void setXForm(float[] _xform)
public String toString()
Constructs and returns a string representation of this Document.