Java Doc for EntityImpl.java in  » Database-DBMS » Ozone-1.1 » org » ozoneDB » xml » 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 » Database DBMS » Ozone 1.1 » org.ozoneDB.xml.dom 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.ozoneDB.xml.dom.NodeImpl
   org.ozoneDB.xml.dom.EntityImpl

EntityImpl
public class EntityImpl extends NodeImpl implements EntityProxy,Externalizable(Code)
Implements an entity.

Notes:

  1. Node type is org.w3c.dom.Node.ENTITY_NODE
  2. Node supports childern
  3. Node does not have a value
  4. Node only accessible from org.w3c.dom.DocumentType

version:
   $Revision: 1.1 $ $Date: 2001/12/18 11:03:24 $
author:
   Assaf Arkin
See Also:   org.w3c.dom.Entity
See Also:   NodeImpl


Field Summary
final public static  shortSTATE_DECLARED
     Entity has been declared but not parsed.
final public static  shortSTATE_NOT_FOUND
     Entity not found.
final public static  shortSTATE_PARSED
     Entity has been parsed.
final public static  shortSTATE_PARSING
     Entity is being parsed.
protected  String_notation
     The notation of this entity, if specified.
protected  String_publicId
     The public identifier of this entity, if specified.
protected  String_systemId
     The system identifier of this entity, if specified.
final static  longserialVersionUID
    

Constructor Summary
public  EntityImpl(DocumentImpl owner, String name, String systemId, String publicId, String notation)
     Constructs an unparsed general entity.
public  EntityImpl(DocumentImpl owner, String name, String systemId, String publicId)
     Constructs an external general entity.
public  EntityImpl(DocumentImpl owner, String name, String internalValue)
     Constructs an internal general entity.
public  EntityImpl()
    

Method Summary
final public  Objectclone()
    
public synchronized  voidcloneInto(NodeProxy into, boolean deep)
    
final public  NodecloneNode(boolean deep)
    
public synchronized  booleanequals(Object other)
    
final public  StringgetInternal()
    
public  shortgetNodeType()
    
public  StringgetNotationName()
    
public  StringgetPublicId()
    
public  shortgetState()
     Returns the parsing state of this entity.
public  StringgetSystemId()
    
public  voidinit(DocumentProxy owner, String name)
    
public  voidinit(DocumentProxy owner, String name, String value)
    
public  voidinit(DocumentProxy owner, String name, String systemId, String publicId)
    
public  voidinit(DocumentProxy owner, String name, String systemId, String publicId, String notation)
    
public  booleanisInternal()
     Returns true if entity is an internal general entity.
public  booleanisUnparsed()
     Returns true if entity is an unparsed general entity.
public  voidreadExternal(ObjectInput in)
    
public  voidsetInternal(String internalValue)
    
final public  voidsetNodeValue(String value)
    
public  voidsetNotationName(String notation)
    
public  voidsetPublicId(String publicId)
    
public  voidsetState(short newState)
     Changes the parsing state of this entity.
public  voidsetSystemId(String systemId)
    
final protected  booleansupportsChildern()
    
public  StringtoString()
    
public  voidwriteExternal(ObjectOutput out)
    

Field Detail
STATE_DECLARED
final public static short STATE_DECLARED(Code)
Entity has been declared but not parsed. This is the initial state for an entity after it has been declared in the DTD but before it is used in the document contents.



STATE_NOT_FOUND
final public static short STATE_NOT_FOUND(Code)
Entity not found. The entity could not be parsed before.



STATE_PARSED
final public static short STATE_PARSED(Code)
Entity has been parsed. This state indicates that entity has been parsed and it's parsed contents is contained in its child nodes.



STATE_PARSING
final public static short STATE_PARSING(Code)
Entity is being parsed. This state designates that the entity is being parsed right now. State is used to identify circular references.



_notation
protected String _notation(Code)
The notation of this entity, if specified.



_publicId
protected String _publicId(Code)
The public identifier of this entity, if specified.



_systemId
protected String _systemId(Code)
The system identifier of this entity, if specified.



serialVersionUID
final static long serialVersionUID(Code)




Constructor Detail
EntityImpl
public EntityImpl(DocumentImpl owner, String name, String systemId, String publicId, String notation)(Code)
Constructs an unparsed general entity. Entity system identifier and notation name must be provided, public identifier is optional.
Parameters:
  owner - The owner document
Parameters:
  name - The entity name
Parameters:
  systemId - The system identifier
Parameters:
  publicId - The public identifier, if specified
Parameters:
  notation - The notation, if specified



EntityImpl
public EntityImpl(DocumentImpl owner, String name, String systemId, String publicId)(Code)
Constructs an external general entity. Entity system identifier must be provided, public identifier is optional.
Parameters:
  owner - The owner document
Parameters:
  name - The entity name
Parameters:
  systemId - The system identifier
Parameters:
  publicId - The public identifier, if specified



EntityImpl
public EntityImpl(DocumentImpl owner, String name, String internalValue)(Code)
Constructs an internal general entity. Entity value must be provided.
Parameters:
  owner - The owner document
Parameters:
  name - The entity name
Parameters:
  internalValue - The unparsed entity value



EntityImpl
public EntityImpl()(Code)




Method Detail
clone
final public Object clone()(Code)



cloneInto
public synchronized void cloneInto(NodeProxy into, boolean deep)(Code)



cloneNode
final public Node cloneNode(boolean deep)(Code)



equals
public synchronized boolean equals(Object other)(Code)



getInternal
final public String getInternal()(Code)



getNodeType
public short getNodeType()(Code)



getNotationName
public String getNotationName()(Code)



getPublicId
public String getPublicId()(Code)



getState
public short getState()(Code)
Returns the parsing state of this entity. State of entity



getSystemId
public String getSystemId()(Code)



init
public void init(DocumentProxy owner, String name)(Code)



init
public void init(DocumentProxy owner, String name, String value)(Code)



init
public void init(DocumentProxy owner, String name, String systemId, String publicId)(Code)



init
public void init(DocumentProxy owner, String name, String systemId, String publicId, String notation)(Code)



isInternal
public boolean isInternal()(Code)
Returns true if entity is an internal general entity. An internal entity is one for which a value has been defined. An external entity is one for which an external entity has been assigned through either system or public identifiers.

If true is returned, then EntityImpl.getInternal will return a string (might be empty). True if internal general entity




isUnparsed
public boolean isUnparsed()(Code)
Returns true if entity is an unparsed general entity. An unparsed entity is one for which a notation has been specified. True if unparsed general entity



readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException(Code)



setInternal
public void setInternal(String internalValue)(Code)



setNodeValue
final public void setNodeValue(String value)(Code)



setNotationName
public void setNotationName(String notation)(Code)



setPublicId
public void setPublicId(String publicId)(Code)



setState
public void setState(short newState)(Code)
Changes the parsing state of this entity. Note that only some changes are allowed: from declared to parsing, parsed or not found; from parsing to parsed or not found; from not found to declared.
Parameters:
  newState - New state of entity



setSystemId
public void setSystemId(String systemId)(Code)



supportsChildern
final protected boolean supportsChildern()(Code)



toString
public String toString()(Code)



writeExternal
public void writeExternal(ObjectOutput out) throws IOException(Code)



Fields inherited from org.ozoneDB.xml.dom.NodeImpl
final public static short ATTLIST_DECL_NODE(Code)(Java Doc)
final public static short ELEMENT_DECL_NODE(Code)(Java Doc)
final public static short PARAM_ENTITY_NODE(Code)(Java Doc)
NodeProxy _nextNode(Code)(Java Doc)
DocumentProxy _ownerDocument(Code)(Java Doc)
NodeProxy _parent(Code)(Java Doc)
NodeProxy _prevNode(Code)(Java Doc)
final static long serialVersionUID(Code)(Java Doc)

Methods inherited from org.ozoneDB.xml.dom.NodeImpl
final public synchronized Node appendChild(Node newChild)(Code)(Java Doc)
protected Node castNewChild(Node newChild) throws DOMException(Code)(Java Doc)
final protected Node castOldChild(Node oldChild) throws DOMException(Code)(Java Doc)
public synchronized void cloneInto(NodeProxy into, boolean deep)(Code)(Java Doc)
public NamedNodeMap getAttributes()(Code)(Java Doc)
final public synchronized Node getChild(int index)(Code)(Java Doc)
final public int getChildCount()(Code)(Java Doc)
public NodeList getChildNodes()(Code)(Java Doc)
final public Node getFirstChild()(Code)(Java Doc)
final public Node getLastChild()(Code)(Java Doc)
public java.lang.String getLocalName()(Code)(Java Doc)
public java.lang.String getNamespaceURI()(Code)(Java Doc)
public Node getNextSibling()(Code)(Java Doc)
final public String getNodeName()(Code)(Java Doc)
abstract public short getNodeType()(Code)(Java Doc)
final public String getNodeValue()(Code)(Java Doc)
final public Document getOwnerDocument()(Code)(Java Doc)
public Node getParentNode()(Code)(Java Doc)
public java.lang.String getPrefix()(Code)(Java Doc)
public Node getPreviousSibling()(Code)(Java Doc)
public boolean hasAttributes()(Code)(Java Doc)
final public boolean hasChildNodes()(Code)(Java Doc)
final public void init(DocumentProxy owner, String name, String value, boolean checkName) throws DOMException(Code)(Java Doc)
final public synchronized Node insertBefore(Node newChild, Node refChild) throws DOMException(Code)(Java Doc)
final public boolean isReadOnly()(Code)(Java Doc)
public boolean isSupported(String s, String s1)(Code)(Java Doc)
public void normalize()(Code)(Java Doc)
protected void notifyIterators(Node removedChild)(Code)(Java Doc)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException(Code)(Java Doc)
final public synchronized Node removeChild(Node oldChild) throws DOMException(Code)(Java Doc)
final public synchronized Node replaceChild(Node newChild, Node oldChild) throws DOMException(Code)(Java Doc)
public void setNextSibling(Node nextNode)(Code)(Java Doc)
final public void setNodeName(String nodeName)(Code)(Java Doc)
public void setNodeValue(String value)(Code)(Java Doc)
public synchronized void setOwnerDocument(Document owner)(Code)(Java Doc)
public void setParentNode(Node newParent)(Code)(Java Doc)
public void setPrefix(java.lang.String prefix) throws DOMException(Code)(Java Doc)
public void setPreviousSibling(Node prevNode)(Code)(Java Doc)
final public synchronized void setReadOnly()(Code)(Java Doc)
public boolean supports(java.lang.String feature, java.lang.String version)(Code)(Java Doc)
boolean supportsChildern()(Code)(Java Doc)
public void writeExternal(ObjectOutput out) throws IOException(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.