Java Doc for ElementOverNodeInfo.java in  » XML » XPath-Saxon » net » sf » saxon » dom » 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 » XPath Saxon » net.sf.saxon.dom 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.sf.saxon.dom.NodeOverNodeInfo
      net.sf.saxon.dom.ElementOverNodeInfo

ElementOverNodeInfo
public class ElementOverNodeInfo extends NodeOverNodeInfo implements Element(Code)
This class is an implementation of the DOM Element class that wraps a Saxon NodeInfo representation of an element node.




Method Summary
public  StringgetAttribute(String name)
     Retrieves an attribute value by name.
public  StringgetAttributeNS(String namespaceURI, String localName)
     Retrieves an attribute value by local name and namespace URI. HTML-only DOM implementations do not need to implement this method.
Parameters:
  namespaceURI - The namespace URI of the attribute to retrieve.
Parameters:
  localName - The local name of the attribute to retrieve.
public  AttrgetAttributeNode(String name)
     Retrieves an attribute node by name. Namespace declarations will not be retrieved.
To retrieve an attribute node by qualified name and namespace URI, use the getAttributeNodeNS method.
Parameters:
  name - The name (nodeName ) of the attribute toretrieve.
public  AttrgetAttributeNodeNS(String namespaceURI, String localName)
     Retrieves an Attr node by local name and namespace URI. DOM method, so namespace declarations count as attributes.
Parameters:
  namespaceURI - The namespace URI of the attribute to retrieve.
Parameters:
  localName - The local name of the attribute to retrieve.
public  NodeListgetElementsByTagName(String name)
     Returns a NodeList of all descendant Elements with a given tag name, in document order.
Parameters:
  name - The name of the tag to match on.
public  NodeListgetElementsByTagNameNS(String namespaceURI, String localName)
     Returns a NodeList of all the descendant Elements with a given local name and namespace URI in document order.
Parameters:
  namespaceURI - The namespace URI of the elements to match on.
public  TypeInfogetSchemaTypeInfo()
     Get the schema type information for this node.
public  StringgetTagName()
     The name of the element (DOM interface).
public  booleanhasAttribute(String name)
     Returns true when an attribute with a given name is specified on this element or has a default value, false otherwise. Namespace declarations will not be retrieved.
Parameters:
  name - The name of the attribute to look for.
public  booleanhasAttributeNS(String namespaceURI, String localName)
     Returns true when an attribute with a given local name and namespace URI is specified on this element or has a default value, false otherwise. Namespace declarations will not be retrieved.
Parameters:
  namespaceURI - The namespace URI of the attribute to look for.
Parameters:
  localName - The local name of the attribute to look for.
public  voidremoveAttribute(String oldAttr)
     Removes the specified attribute.
public  voidremoveAttributeNS(String namespaceURI, String localName)
     Removes an attribute by local name and namespace URI.
public  AttrremoveAttributeNode(Attr oldAttr)
     Removes the specified attribute node.
public  voidsetAttribute(String name, String value)
     Adds a new attribute.
public  voidsetAttributeNS(String namespaceURI, String qualifiedName, String value)
     Adds a new attribute.
public  AttrsetAttributeNode(Attr newAttr)
     Adds a new attribute node.
public  AttrsetAttributeNodeNS(Attr newAttr)
     Add a new attribute.
public  voidsetIdAttribute(String name, boolean isId)
    
public  voidsetIdAttributeNS(String namespaceURI, String localName, boolean isId)
    
public  voidsetIdAttributeNode(Attr idAttr, boolean isId)
    



Method Detail
getAttribute
public String getAttribute(String name)(Code)
Retrieves an attribute value by name. Namespace declarations will not be retrieved. DOM interface.
Parameters:
  name - The QName of the attribute to retrieve. The Attr value as a string, or the empty string ifthat attribute does not have a specified or default value.



getAttributeNS
public String getAttributeNS(String namespaceURI, String localName)(Code)
Retrieves an attribute value by local name and namespace URI. HTML-only DOM implementations do not need to implement this method.
Parameters:
  namespaceURI - The namespace URI of the attribute to retrieve.
Parameters:
  localName - The local name of the attribute to retrieve. The Attr value as a string, or the empty string ifthat attribute does not have a specified or default value.
since:
   DOM Level 2



getAttributeNode
public Attr getAttributeNode(String name)(Code)
Retrieves an attribute node by name. Namespace declarations will not be retrieved.
To retrieve an attribute node by qualified name and namespace URI, use the getAttributeNodeNS method.
Parameters:
  name - The name (nodeName ) of the attribute toretrieve. The Attr node with the specified name (nodeName ) or null if there is no suchattribute.



getAttributeNodeNS
public Attr getAttributeNodeNS(String namespaceURI, String localName)(Code)
Retrieves an Attr node by local name and namespace URI. DOM method, so namespace declarations count as attributes.
Parameters:
  namespaceURI - The namespace URI of the attribute to retrieve.
Parameters:
  localName - The local name of the attribute to retrieve. The Attr node with the specified attribute localname and namespace URI or null if there is no suchattribute.
since:
   DOM Level 2



getElementsByTagName
public NodeList getElementsByTagName(String name)(Code)
Returns a NodeList of all descendant Elements with a given tag name, in document order.
Parameters:
  name - The name of the tag to match on. The special value "*"matches all tags. A list of matching Element nodes.



getElementsByTagNameNS
public NodeList getElementsByTagNameNS(String namespaceURI, String localName) throws DOMException(Code)
Returns a NodeList of all the descendant Elements with a given local name and namespace URI in document order.
Parameters:
  namespaceURI - The namespace URI of the elements to match on. Thespecial value "*" matches all namespaces.
Parameters:
  localName - The local name of the elements to match on. Thespecial value "*" matches all local names. A new NodeList object containing all the matchedElements.
throws:
  org.w3c.dom.DOMException - NOT_SUPPORTED_ERR: May be raised if the implementation does notsupport the feature "XML" and the language exposedthrough the Document does not support XML Namespaces (such as [HTML 4.01]).
since:
   DOM Level 2



getSchemaTypeInfo
public TypeInfo getSchemaTypeInfo()(Code)
Get the schema type information for this node. Returns null for an untyped node.



getTagName
public String getTagName()(Code)
The name of the element (DOM interface).



hasAttribute
public boolean hasAttribute(String name)(Code)
Returns true when an attribute with a given name is specified on this element or has a default value, false otherwise. Namespace declarations will not be retrieved.
Parameters:
  name - The name of the attribute to look for. true if an attribute with the given name isspecified on this element or has a default value, falseotherwise.
since:
   DOM Level 2



hasAttributeNS
public boolean hasAttributeNS(String namespaceURI, String localName)(Code)
Returns true when an attribute with a given local name and namespace URI is specified on this element or has a default value, false otherwise. Namespace declarations will not be retrieved.
Parameters:
  namespaceURI - The namespace URI of the attribute to look for.
Parameters:
  localName - The local name of the attribute to look for. true if an attribute with the given local name andnamespace URI is specified or has a default value on this element,false otherwise.
since:
   DOM Level 2



removeAttribute
public void removeAttribute(String oldAttr) throws DOMException(Code)
Removes the specified attribute. Always fails
exception:
  org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.



removeAttributeNS
public void removeAttributeNS(String namespaceURI, String localName) throws DOMException(Code)
Removes an attribute by local name and namespace URI. Always fails
exception:
  org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.
since:
   DOM Level 2



removeAttributeNode
public Attr removeAttributeNode(Attr oldAttr) throws DOMException(Code)
Removes the specified attribute node. Always fails
exception:
  org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.



setAttribute
public void setAttribute(String name, String value) throws DOMException(Code)
Adds a new attribute. Always fails
Parameters:
  name - The name of the attribute to create or alter.
Parameters:
  value - Value to set in string form.
throws:
  org.w3c.dom.DOMException - INVALID_CHARACTER_ERR: Raised if the specified name is not an XMLname according to the XML version in use specified in theDocument.xmlVersion attribute.
NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.



setAttributeNS
public void setAttributeNS(String namespaceURI, String qualifiedName, String value) throws DOMException(Code)
Adds a new attribute. Always fails.
Parameters:
  namespaceURI - The namespace URI of the attribute to create oralter.
Parameters:
  qualifiedName - The qualified name of the attribute to create oralter.
Parameters:
  value - The value to set in string form.
exception:
  org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.



setAttributeNode
public Attr setAttributeNode(Attr newAttr) throws DOMException(Code)
Adds a new attribute node. Always fails
exception:
  org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.



setAttributeNodeNS
public Attr setAttributeNodeNS(Attr newAttr) throws DOMException(Code)
Add a new attribute. Always fails.
Parameters:
  newAttr - The Attr node to add to the attribute list. If the newAttr attribute replaces an existingattribute with the same local name and namespace URI , thereplaced Attr node is returned, otherwisenull is returned.
exception:
  org.w3c.dom.DOMException -
NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.
since:
   DOM Level 2



setIdAttribute
public void setIdAttribute(String name, boolean isId) throws DOMException(Code)



setIdAttributeNS
public void setIdAttributeNS(String namespaceURI, String localName, boolean isId) throws DOMException(Code)



setIdAttributeNode
public void setIdAttributeNode(Attr idAttr, boolean isId) throws DOMException(Code)



Fields inherited from net.sf.saxon.dom.NodeOverNodeInfo
protected NodeInfo node(Code)(Java Doc)

Methods inherited from net.sf.saxon.dom.NodeOverNodeInfo
public Node appendChild(Node newChild) throws DOMException(Code)(Java Doc)
public Node cloneNode(boolean deep)(Code)(Java Doc)
public short compareDocumentPosition(Node other) throws DOMException(Code)(Java Doc)
protected static void disallowUpdate() throws DOMException(Code)(Java Doc)
public NamedNodeMap getAttributes()(Code)(Java Doc)
public String getBaseURI()(Code)(Java Doc)
public NodeList getChildNodes()(Code)(Java Doc)
public Element getDocumentElement()(Code)(Java Doc)
public Object getFeature(String feature, String version)(Code)(Java Doc)
public Node getFirstChild()(Code)(Java Doc)
public Node getLastChild()(Code)(Java Doc)
public String getLocalName()(Code)(Java Doc)
public String getNamespaceURI()(Code)(Java Doc)
public Node getNextSibling()(Code)(Java Doc)
public String getNodeName()(Code)(Java Doc)
public short getNodeType()(Code)(Java Doc)
public String getNodeValue()(Code)(Java Doc)
public Document getOwnerDocument()(Code)(Java Doc)
public Node getParentNode()(Code)(Java Doc)
public String getPrefix()(Code)(Java Doc)
public Node getPreviousSibling()(Code)(Java Doc)
public String getTextContent() throws DOMException(Code)(Java Doc)
public NodeInfo getUnderlyingNodeInfo()(Code)(Java Doc)
public Object getUserData(String key)(Code)(Java Doc)
public boolean hasAttributes()(Code)(Java Doc)
public boolean hasChildNodes()(Code)(Java Doc)
public Node insertBefore(Node newChild, Node refChild) throws DOMException(Code)(Java Doc)
public boolean isDefaultNamespace(String namespaceURI)(Code)(Java Doc)
public boolean isEqualNode(Node arg)(Code)(Java Doc)
public boolean isId()(Code)(Java Doc)
final public boolean isSameNode(Node other)(Code)(Java Doc)
public boolean isSupported(String feature, String version)(Code)(Java Doc)
public String lookupNamespaceURI(String prefix)(Code)(Java Doc)
public String lookupPrefix(String namespaceURI)(Code)(Java Doc)
public void normalize()(Code)(Java Doc)
public Node removeChild(Node oldChild) throws DOMException(Code)(Java Doc)
public Node replaceChild(Node newChild, Node oldChild) throws DOMException(Code)(Java Doc)
public void setNodeValue(String nodeValue) throws DOMException(Code)(Java Doc)
public void setPrefix(String prefix) throws DOMException(Code)(Java Doc)
public void setTextContent(String textContent) throws DOMException(Code)(Java Doc)
public void setUnderlyingNodeInfo(NodeInfo node)(Code)(Java Doc)
public Object setUserData(String key, Object data, UserDataHandler handler)(Code)(Java Doc)
public boolean supports(String feature, String version)(Code)(Java Doc)
public static NodeOverNodeInfo wrap(NodeInfo node)(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.