Java Doc for LocalName.java in  » GIS » GeoTools-2.4.1 » org » geotools » util » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » GeoTools 2.4.1 » org.geotools.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.geotools.util.GenericName
      org.geotools.util.LocalName

All known Subclasses:   org.geotools.util.MemberNameImpl,
LocalName
public class LocalName extends org.geotools.util.GenericName implements org.opengis.util.LocalName(Code)
Identifier within a name space for a local object. This could be the target object of the GenericName , or a pointer to another name space (with a new GenericName ) one step closer to the target of the identifier.
since:
   2.1
version:
   $Id: LocalName.java 22443 2006-10-27 20:47:22Z desruisseaux $
author:
   Martin Desruisseaux
See Also:   NameFactory



Constructor Summary
public  LocalName(CharSequence name)
     Constructs a local name from the specified string with no scope. If the specified name is an InternationalString , then the (null) method will be used in order to fetch an unlocalized name.
 LocalName(ScopedName asScopedName, CharSequence name)
     Constructs a local name from the specified international string.

Method Summary
public  org.opengis.util.LocalNameasLocalName()
     Returns a view of this object as a local name.
public  ScopedNameasScopedName()
     Returns a view of this object as a scoped name, or null if this name has no scope.
public  intcompareTo(Object object)
     Compares this name with the specified object for order.
public  intdepth()
     Returns the depth, which is always 1 for a local name.
public  booleanequals(Object object)
     Compares this local name with the specified object for equality.
public  ListgetParsedNames()
     Returns the sequence of local name for this .
public  GenericNamegetScope()
     Returns the scope (name space) of this generic name.
public  inthashCode()
     Returns a hash code value for this local name.
public  org.opengis.util.LocalNamename()
     Returns this since this object is already a local name.
public  ScopedNamepush(GenericName scope)
     Returns this name expanded with the specified scope.
public  NameSpacescope()
     Returns the scope (name space) in which this name is local.
public  GenericNametoFullyQualifiedName()
     Returns a view of this name as a fully-qualified name.
public  InternationalStringtoInternationalString()
     Returns a local-dependent string representation of this locale name.
public  StringtoString()
     Returns a locale-independant string representation of this local name.


Constructor Detail
LocalName
public LocalName(CharSequence name)(Code)
Constructs a local name from the specified string with no scope. If the specified name is an InternationalString , then the (null) method will be used in order to fetch an unlocalized name. Otherwise, the () method will be used.
Parameters:
  name - The local name (never null ).



LocalName
LocalName(ScopedName asScopedName, CharSequence name)(Code)
Constructs a local name from the specified international string. This constructor is not public since it can't be used from outside of org.geotools.util.ScopedName constructor (otherwise some methods in this class may have the wrong semantic).
Parameters:
  asScopedName - The view of this object as a scoped name.
Parameters:
  name - The local name (never null ).




Method Detail
asLocalName
public org.opengis.util.LocalName asLocalName()(Code)
Returns a view of this object as a local name. Since this object is already a local name, this method always returns this . LocalName.name()



asScopedName
public ScopedName asScopedName()(Code)
Returns a view of this object as a scoped name, or null if this name has no scope. LocalName.toFullyQualifiedName



compareTo
public int compareTo(Object object)(Code)
Compares this name with the specified object for order. Returns a negative integer, zero, or a positive integer as this name lexicographically precedes, is equals to, or follows the specified object. The comparaison is case-insensitive.



depth
public int depth()(Code)
Returns the depth, which is always 1 for a local name.
since:
   2.3



equals
public boolean equals(Object object)(Code)
Compares this local name with the specified object for equality.



getParsedNames
public List getParsedNames()(Code)
Returns the sequence of local name for this . Since this object is itself a locale name, this method always returns a singleton containing only this .



getScope
public GenericName getScope()(Code)
Returns the scope (name space) of this generic name. LocalName.scope



hashCode
public int hashCode()(Code)
Returns a hash code value for this local name.



name
public org.opengis.util.LocalName name()(Code)
Returns this since this object is already a local name.
since:
   2.3



push
public ScopedName push(GenericName scope)(Code)
Returns this name expanded with the specified scope. One may represent this operation as a concatenation of the specified name with this . In pseudo-code, the following relationships must hold:

  • push(name).getParsedList() == name.getParsedList().addAll( )
  • push(name).scope() == name.

Note: Those conditions can be understood in terms of the Java Object.equals equals method instead of the Java identity comparator == .
since:
   2.3




scope
public NameSpace scope()(Code)
Returns the scope (name space) in which this name is local. The scope is set on creation and is not modifiable. The scope of a name determines where a name "starts". For instance, if a name has a of two ( "util.GenericName" ) and is associated with a having the name "org.opengis" , then the fully qualified name would be "org.opengis.util.GenericName" .
since:
   2.3



toFullyQualifiedName
public GenericName toFullyQualifiedName()(Code)
Returns a view of this name as a fully-qualified name. The of a fully qualified name must be . This method never returns null .
since:
   2.3



toInternationalString
public InternationalString toInternationalString()(Code)
Returns a local-dependent string representation of this locale name.



toString
public String toString()(Code)
Returns a locale-independant string representation of this local name. This string do not includes the scope, which is consistent with the definition.



Fields inherited from org.geotools.util.GenericName
final public static char DEFAULT_SEPARATOR(Code)(Java Doc)

Methods inherited from org.geotools.util.GenericName
public int compareTo(Object object)(Code)(Java Doc)
abstract public int depth()(Code)(Java Doc)
public boolean equals(Object object)(Code)(Java Doc)
abstract public List getParsedNames()(Code)(Java Doc)
char getSeparator()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
abstract public LocalName name()(Code)(Java Doc)
abstract public NameSpace scope()(Code)(Java Doc)
public InternationalString toInternationalString()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
static CharSequence validate(CharSequence name)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.