Java Doc for ASNamedObjectMap.java in  » XML » xerces-2_9_1 » org » apache » xerces » dom3 » as » 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 » XML » xerces 2_9_1 » org.apache.xerces.dom3.as 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.xerces.dom3.as.ASNamedObjectMap

ASNamedObjectMap
public interface ASNamedObjectMap (Code)




Method Summary
public  intgetLength()
     The number of ASObjects in the ASObjectList.
public  ASObjectgetNamedItem(String name)
     Retrieves an ASObject specified by name.
Parameters:
  name - The nodeName of an ASObject to retrieve.
public  ASObjectgetNamedItemNS(String namespaceURI, String localName)
     Retrieves an ASObject specified by local name and namespace URI.
Parameters:
  namespaceURI - The namespace URI of the ASObject to retrieve.
Parameters:
  localName - The local name of the ASObject to retrieve.
public  ASObjectitem(int index)
     Returns the indexth item in the map.
public  ASObjectremoveNamedItem(String name)
     Removes an ASObject specified by a nodeName.
public  ASObjectremoveNamedItemNS(String namespaceURI, String localName)
     Removes an ASObject specified by a namespace URI and a local name.
Parameters:
  namespaceURI - The namespace URI of the ASObject to be removed.
Parameters:
  localName - The local name of the ASObject to remove.
public  ASObjectsetNamedItem(ASObject newASObject)
     Adds an ASObject using its nodeName attribute.
public  ASObjectsetNamedItemNS(ASObject newASObject)
     Adds an ASObject using its namespaceURI and localName.



Method Detail
getLength
public int getLength()(Code)
The number of ASObjects in the ASObjectList. The range of valid child node indices is 0 to length-1 inclusive.



getNamedItem
public ASObject getNamedItem(String name)(Code)
Retrieves an ASObject specified by name.
Parameters:
  name - The nodeName of an ASObject to retrieve. An ASObject with specified node name and null if the map does not contain an element with the given name.



getNamedItemNS
public ASObject getNamedItemNS(String namespaceURI, String localName)(Code)
Retrieves an ASObject specified by local name and namespace URI.
Parameters:
  namespaceURI - The namespace URI of the ASObject to retrieve.
Parameters:
  localName - The local name of the ASObject to retrieve. A ASObject (of any type) with the specified local name and namespace URI, or null if they do not identify any ASObject in this map.



item
public ASObject item(int index)(Code)
Returns the indexth item in the map. The index starts at 0. If index is greater than or equal to the number of nodes in the list, this returns null.
Parameters:
  index - The position in the map from which the item is to be retrieved. The ASObject at the indexth position in the ASNamedObjectMap, or null if that is not a valid index.



removeNamedItem
public ASObject removeNamedItem(String name) throws DOMException(Code)
Removes an ASObject specified by a nodeName.
Parameters:
  name - The nodeName of the ASObject to be removed. The ASObject removed from this map if an ASObject with such a name exists.
exception:
  DOMException - NOT_FOUND_ERR: Raised if there is no node named name in this map.
NO_MODIFICATION_ALLOWED_ERR: Raised if this map is readonly.



removeNamedItemNS
public ASObject removeNamedItemNS(String namespaceURI, String localName) throws DOMException(Code)
Removes an ASObject specified by a namespace URI and a local name.
Parameters:
  namespaceURI - The namespace URI of the ASObject to be removed.
Parameters:
  localName - The local name of the ASObject to remove. The ASObject removed from this map if an ASObject with such a local name and namespace URI exists.
exception:
  DOMException - NOT_FOUND_ERR: Raised if there is no node with the specified namespaceURI and localName in this map.
NO_MODIFICATION_ALLOWED_ERR: Raised if this map is readonly.



setNamedItem
public ASObject setNamedItem(ASObject newASObject) throws DOMException(Code)
Adds an ASObject using its nodeName attribute. If an ASObject with that name is already present in this map, it is replaced by the new one.
Parameters:
  newASObject - The ASObject to be inserted in the map with its nodeName as the key. If the new node replaces an existing one, the replaced node is returned, otherwise null.
exception:
  DOMException - WRONG_DOCUMENT_ERR: Raised if arg was created from a different ASModel than the one that created this map.
NO_MODIFICATION_ALLOWED_ERR: Raised if this map is readonly.
HIERARCHY_REQUEST_ERR: Raised if an attempt is made to add a node doesn't belong in this ASNamedObjectMap.



setNamedItemNS
public ASObject setNamedItemNS(ASObject newASObject) throws DOMException(Code)
Adds an ASObject using its namespaceURI and localName. If an ASObject with the same namespaceURI and localName is already present in this map, it is replaced by the new one.
Parameters:
  newASObject - The ASObject to be inserted in the map.The ASObject will later be accessible using the value of its namespaceURI and localName attributes. If the new node replaces an existing one, the replaced node is returned, otherwise null.
exception:
  DOMException - WRONG_DOCUMENT_ERR: Raised if arg was created from a different ASModel than the one that created this map.
NO_MODIFICATION_ALLOWED_ERR: Raised if this map is readonly.
HIERARCHY_REQUEST_ERR: Raised if an attempt is made to add a node doesn't belong in this ASNamedObjectMap.



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