|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.icesoft.pdf.pobjects.Name
A name class is an atomic symbol uniquely defined by a sequence of
characters. Uniquely defined means that any two name objects made up of the
same sequence of characters are identical. Atomic means
that a name has no internal structure, although it is defined by a sequence
of characters, those characters are not “elements” of the name.
A slash character (/) introduces a name. The slash is not part of the name itself, but a prefix indicating that the following sequence of characters constitutes a name. There can be no white-space characters between the slash and the first character in the name. The name may include any regular characters, but no delimiter or white-space characters. Uppercase and lowercase letters are considered distinct forexample, /A and /a are different names.
Names are similar to References in that objects in a PDF document can be accessed by their use. The Library class can result in any Name object and return the corresponding PDF object.
| Constructor Summary | |
Name(String name)
Create a new instance of a Name object. |
|
| Method Summary | |
boolean |
equals(Object obj)
Indicates whether some other Name object is "equal to" this one |
String |
getName()
Gets the name of the Name object. |
int |
hashCode()
Returns a hash code value for the Name object. |
String |
toString()
Gets the string value of the Name object. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Name(String name)
name - the name value of the Name object| Method Detail |
public String getName()
public String toString()
getName()public boolean equals(Object obj)
obj - name object that this Name object is compared against
public int hashCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||