Java Doc for XMLObjectImpl.java in  » Scripting » rhino » org » mozilla » javascript » xmlimpl » 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 » Scripting » rhino » org.mozilla.javascript.xmlimpl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.mozilla.javascript.ScriptableObject
      org.mozilla.javascript.IdScriptableObject
         org.mozilla.javascript.xml.XMLObject
            org.mozilla.javascript.xmlimpl.XMLObjectImpl

All known Subclasses:   org.mozilla.javascript.xmlimpl.XML,  org.mozilla.javascript.xmlimpl.XMLList,
XMLObjectImpl
abstract class XMLObjectImpl extends XMLObject (Code)
This abstract class describes what all XML objects (XML, XMLList) should have in common.
See Also:   XML



Constructor Summary
protected  XMLObjectImpl(XMLLibImpl lib, Scriptable scope, XMLObject prototype)
    

Method Summary
abstract  voidaddMatches(XMLList rv, XMLName name)
    
final public  ObjectaddValues(Context cx, boolean thisIsLeft, Object value)
    
abstract  XMLListchild(int index)
    
abstract  XMLListchild(XMLName xmlName)
    
abstract  XMLListchildren()
    
abstract  XMLListcomments()
    
abstract  booleancontains(Object xml)
    
abstract  XMLObjectImplcopy()
    
final  XMLcreateEmptyXML()
    
final  NamespacecreateNamespace(XmlNode.Namespace declaration)
    
final  Namespace[]createNamespaces(XmlNode.Namespace[] declarations)
    
final public  voiddelete(String name)
    
abstract  voiddeleteXMLProperty(XMLName name)
     ecmaDelete(cx, id) calls this after resolving when id to XMLName and checking it is not Uint32 index.
final public  booleanecmaDelete(Context cx, Object id)
     Implementation of ECMAScript [[Delete]].
final  StringecmaEscapeAttributeValue(String s)
    
final public  ObjectecmaGet(Context cx, Object id)
    
final public  booleanecmaHas(Context cx, Object id)
    
final public  voidecmaPut(Context cx, Object id, Object value)
    
final  XMLecmaToXml(Object object)
    
abstract  XMLListelements(XMLName xmlName)
    
public  NativeWithenterDotQuery(Scriptable scope)
    
public  NativeWithenterWith(Scriptable scope)
    
final protected  ObjectequivalentValues(Object value)
     XMLObject always compare with any value and equivalentValues never returns Scriptable.NOT_FOUND for them but rather calls equivalentXml(value) and wrap the result as Boolean.
abstract  booleanequivalentXml(Object target)
     Test XML equality with target the target.
public  ObjectexecIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args)
    
final  voidexportAsJSClass(boolean sealed)
    
protected  intfindPrototypeId(String s)
    
final public  Objectget(String name, Scriptable start)
    
final public  ObjectgetDefaultValue(Class hint)
    
 XMLLibImplgetLib()
    
final  ObjectgetMethod(String id)
    
final public  ScriptablegetParentScope()
    
final  XmlProcessorgetProcessor()
    
final public  ScriptablegetPrototype()
    
abstract  XMLgetXML()
    
abstract  ObjectgetXMLProperty(XMLName name)
     ecmaGet(cx, id) calls this after resolving when id to XMLName and checking it is not Uint32 index.
final public  booleanhas(String name, Scriptable start)
    
abstract  booleanhasComplexContent()
    
final public  booleanhasInstance(Scriptable scriptable)
    
abstract  booleanhasOwnProperty(XMLName xmlName)
    
abstract  booleanhasSimpleContent()
    
abstract  booleanhasXMLProperty(XMLName name)
     ecmaHas(cx, id) calls this after resolving when id to XMLName and checking it is not Uint32 index.
protected  voidinitPrototypeId(int id)
    
final  voidinitialize(XMLLibImpl lib, Scriptable scope, XMLObject prototype)
    
final  booleanisPrototype()
    
abstract protected  ObjectjsConstructor(Context cx, boolean inNewExpr, Object[] args)
    
abstract  intlength()
    
public  RefmemberRef(Context cx, Object elem, int memberTypeFlags)
    
public  RefmemberRef(Context cx, Object namespace, Object elem, int memberTypeFlags)
     Generic reference to implement x::ns, x.@ns::y, x..@ns::y etc.
final  QNamenewQName(String uri, String localName, String prefix)
    
final  QNamenewQName(XmlNode.QName name)
    
final  XMLnewTextElementXML(XmlNode reference, XmlNode.QName qname, String value)
    
final  XMLnewXML(XmlNode node)
    
final  XMLnewXMLFromJs(Object inputObject)
    
final  XMLListnewXMLList()
    
final  XMLListnewXMLListFrom(Object o)
    
abstract  voidnormalize()
    
abstract  Objectparent()
    
abstract  XMLListprocessingInstructions(XMLName xmlName)
    
abstract  booleanpropertyIsEnumerable(Object member)
    
final public  voidput(String name, Scriptable start, Object value)
    
abstract  voidputXMLProperty(XMLName name, Object value)
     ecmaPut(cx, id, value) calls this after resolving when id to XMLName and checking it is not Uint32 index.
final public  voidsetParentScope(Scriptable parent)
    
final public  voidsetPrototype(Scriptable prototype)
    
abstract  XMLListtext()
    
abstract public  StringtoString()
    
abstract  StringtoXMLString()
    
abstract  ObjectvalueOf()
    
 XMLxmlFromNode(XmlNode node)
    


Constructor Detail
XMLObjectImpl
protected XMLObjectImpl(XMLLibImpl lib, Scriptable scope, XMLObject prototype)(Code)




Method Detail
addMatches
abstract void addMatches(XMLList rv, XMLName name)(Code)



addValues
final public Object addValues(Context cx, boolean thisIsLeft, Object value)(Code)



child
abstract XMLList child(int index)(Code)



child
abstract XMLList child(XMLName xmlName)(Code)



children
abstract XMLList children()(Code)



comments
abstract XMLList comments()(Code)



contains
abstract boolean contains(Object xml)(Code)



copy
abstract XMLObjectImpl copy()(Code)



createEmptyXML
final XML createEmptyXML()(Code)



createNamespace
final Namespace createNamespace(XmlNode.Namespace declaration)(Code)



createNamespaces
final Namespace[] createNamespaces(XmlNode.Namespace[] declarations)(Code)



delete
final public void delete(String name)(Code)



deleteXMLProperty
abstract void deleteXMLProperty(XMLName name)(Code)
ecmaDelete(cx, id) calls this after resolving when id to XMLName and checking it is not Uint32 index.



ecmaDelete
final public boolean ecmaDelete(Context cx, Object id)(Code)
Implementation of ECMAScript [[Delete]].



ecmaEscapeAttributeValue
final String ecmaEscapeAttributeValue(String s)(Code)



ecmaGet
final public Object ecmaGet(Context cx, Object id)(Code)
Implementation of ECMAScript [[Get]]



ecmaHas
final public boolean ecmaHas(Context cx, Object id)(Code)
Implementation of ECMAScript [[Has]]



ecmaPut
final public void ecmaPut(Context cx, Object id, Object value)(Code)
Implementation of ECMAScript [[Put]]



ecmaToXml
final XML ecmaToXml(Object object)(Code)



elements
abstract XMLList elements(XMLName xmlName)(Code)



enterDotQuery
public NativeWith enterDotQuery(Scriptable scope)(Code)



enterWith
public NativeWith enterWith(Scriptable scope)(Code)



equivalentValues
final protected Object equivalentValues(Object value)(Code)
XMLObject always compare with any value and equivalentValues never returns Scriptable.NOT_FOUND for them but rather calls equivalentXml(value) and wrap the result as Boolean.



equivalentXml
abstract boolean equivalentXml(Object target)(Code)
Test XML equality with target the target.



execIdCall
public Object execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args)(Code)



exportAsJSClass
final void exportAsJSClass(boolean sealed)(Code)



findPrototypeId
protected int findPrototypeId(String s)(Code)



get
final public Object get(String name, Scriptable start)(Code)



getDefaultValue
final public Object getDefaultValue(Class hint)(Code)



getLib
XMLLibImpl getLib()(Code)



getMethod
final Object getMethod(String id)(Code)



getParentScope
final public Scriptable getParentScope()(Code)



getProcessor
final XmlProcessor getProcessor()(Code)



getPrototype
final public Scriptable getPrototype()(Code)



getXML
abstract XML getXML()(Code)



getXMLProperty
abstract Object getXMLProperty(XMLName name)(Code)
ecmaGet(cx, id) calls this after resolving when id to XMLName and checking it is not Uint32 index.



has
final public boolean has(String name, Scriptable start)(Code)



hasComplexContent
abstract boolean hasComplexContent()(Code)



hasInstance
final public boolean hasInstance(Scriptable scriptable)(Code)



hasOwnProperty
abstract boolean hasOwnProperty(XMLName xmlName)(Code)



hasSimpleContent
abstract boolean hasSimpleContent()(Code)



hasXMLProperty
abstract boolean hasXMLProperty(XMLName name)(Code)
ecmaHas(cx, id) calls this after resolving when id to XMLName and checking it is not Uint32 index.



initPrototypeId
protected void initPrototypeId(int id)(Code)



initialize
final void initialize(XMLLibImpl lib, Scriptable scope, XMLObject prototype)(Code)



isPrototype
final boolean isPrototype()(Code)



jsConstructor
abstract protected Object jsConstructor(Context cx, boolean inNewExpr, Object[] args)(Code)



length
abstract int length()(Code)



memberRef
public Ref memberRef(Context cx, Object elem, int memberTypeFlags)(Code)



memberRef
public Ref memberRef(Context cx, Object namespace, Object elem, int memberTypeFlags)(Code)
Generic reference to implement x::ns, x.@ns::y, x..@ns::y etc.



newQName
final QName newQName(String uri, String localName, String prefix)(Code)



newQName
final QName newQName(XmlNode.QName name)(Code)



newTextElementXML
final XML newTextElementXML(XmlNode reference, XmlNode.QName qname, String value)(Code)



newXML
final XML newXML(XmlNode node)(Code)



newXMLFromJs
final XML newXMLFromJs(Object inputObject)(Code)



newXMLList
final XMLList newXMLList()(Code)



newXMLListFrom
final XMLList newXMLListFrom(Object o)(Code)



normalize
abstract void normalize()(Code)



parent
abstract Object parent()(Code)



processingInstructions
abstract XMLList processingInstructions(XMLName xmlName)(Code)



propertyIsEnumerable
abstract boolean propertyIsEnumerable(Object member)(Code)



put
final public void put(String name, Scriptable start, Object value)(Code)



putXMLProperty
abstract void putXMLProperty(XMLName name, Object value)(Code)
ecmaPut(cx, id, value) calls this after resolving when id to XMLName and checking it is not Uint32 index.



setParentScope
final public void setParentScope(Scriptable parent)(Code)



setPrototype
final public void setPrototype(Scriptable prototype)(Code)



text
abstract XMLList text()(Code)



toString
abstract public String toString()(Code)



toXMLString
abstract String toXMLString()(Code)



valueOf
abstract Object valueOf()(Code)



xmlFromNode
XML xmlFromNode(XmlNode node)(Code)



Methods inherited from org.mozilla.javascript.xml.XMLObject
public Object addValues(Context cx, boolean thisIsLeft, Object value)(Code)(Java Doc)
abstract public boolean ecmaDelete(Context cx, Object id)(Code)(Java Doc)
abstract public Object ecmaGet(Context cx, Object id)(Code)(Java Doc)
abstract public boolean ecmaHas(Context cx, Object id)(Code)(Java Doc)
abstract public void ecmaPut(Context cx, Object id, Object value)(Code)(Java Doc)
abstract public NativeWith enterDotQuery(Scriptable scope)(Code)(Java Doc)
abstract public NativeWith enterWith(Scriptable scope)(Code)(Java Doc)
abstract public Scriptable getExtraMethodSource(Context cx)(Code)(Java Doc)
abstract public Ref memberRef(Context cx, Object elem, int memberTypeFlags)(Code)(Java Doc)
abstract public Ref memberRef(Context cx, Object namespace, Object elem, int memberTypeFlags)(Code)(Java Doc)

Methods inherited from org.mozilla.javascript.IdScriptableObject
final public void activatePrototypeMap(int maxPrototypeId)(Code)(Java Doc)
protected void addIdFunctionProperty(Scriptable obj, Object tag, int id, String name, int arity)(Code)(Java Doc)
final protected Object defaultGet(String name)(Code)(Java Doc)
final protected void defaultPut(String name, Object value)(Code)(Java Doc)
public void delete(String name)(Code)(Java Doc)
public Object execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args)(Code)(Java Doc)
final public IdFunctionObject exportAsJSClass(int maxPrototypeId, Scriptable scope, boolean sealed)(Code)(Java Doc)
protected void fillConstructorProperties(IdFunctionObject ctor)(Code)(Java Doc)
protected int findInstanceIdInfo(String name)(Code)(Java Doc)
protected int findPrototypeId(String name)(Code)(Java Doc)
public Object get(String name, Scriptable start)(Code)(Java Doc)
public int getAttributes(String name)(Code)(Java Doc)
protected String getInstanceIdName(int id)(Code)(Java Doc)
protected Object getInstanceIdValue(int id)(Code)(Java Doc)
protected int getMaxInstanceId()(Code)(Java Doc)
public boolean has(String name, Scriptable start)(Code)(Java Doc)
final public boolean hasPrototypeMap()(Code)(Java Doc)
protected static EcmaError incompatibleCallError(IdFunctionObject f)(Code)(Java Doc)
final public void initPrototypeConstructor(IdFunctionObject f)(Code)(Java Doc)
protected void initPrototypeId(int id)(Code)(Java Doc)
final public void initPrototypeMethod(Object tag, int id, String name, int arity)(Code)(Java Doc)
final public void initPrototypeValue(int id, String name, Object value, int attributes)(Code)(Java Doc)
protected static int instanceIdInfo(int attributes, int id)(Code)(Java Doc)
public void put(String name, Scriptable start, Object value)(Code)(Java Doc)
public void setAttributes(String name, int attributes)(Code)(Java Doc)
protected void setInstanceIdValue(int id, Object value)(Code)(Java Doc)

Fields inherited from org.mozilla.javascript.ScriptableObject
final public static int CONST(Code)(Java Doc)
final public static int DONTENUM(Code)(Java Doc)
final public static int EMPTY(Code)(Java Doc)
final public static int PERMANENT(Code)(Java Doc)
final public static int READONLY(Code)(Java Doc)
final public static int UNINITIALIZED_CONST(Code)(Java Doc)

Methods inherited from org.mozilla.javascript.ScriptableObject
final public Object associateValue(Object key, Object value)(Code)(Java Doc)
public boolean avoidObjectDetection()(Code)(Java Doc)
public static Object callMethod(Scriptable obj, String methodName, Object[] args)(Code)(Java Doc)
public static Object callMethod(Context cx, Scriptable obj, String methodName, Object[] args)(Code)(Java Doc)
public static void defineClass(Scriptable scope, Class clazz) throws IllegalAccessException, InstantiationException, InvocationTargetException(Code)(Java Doc)
public static void defineClass(Scriptable scope, Class clazz, boolean sealed) throws IllegalAccessException, InstantiationException, InvocationTargetException(Code)(Java Doc)
public static String defineClass(Scriptable scope, Class clazz, boolean sealed, boolean mapInheritance) throws IllegalAccessException, InstantiationException, InvocationTargetException(Code)(Java Doc)
public void defineConst(String name, Scriptable start)(Code)(Java Doc)
public static void defineConstProperty(Scriptable destination, String propertyName)(Code)(Java Doc)
public void defineFunctionProperties(String[] names, Class clazz, int attributes)(Code)(Java Doc)
public void defineProperty(String propertyName, Object value, int attributes)(Code)(Java Doc)
public static void defineProperty(Scriptable destination, String propertyName, Object value, int attributes)(Code)(Java Doc)
public void defineProperty(String propertyName, Class clazz, int attributes)(Code)(Java Doc)
public void defineProperty(String propertyName, Object delegateTo, Method getter, Method setter, int attributes)(Code)(Java Doc)
public void delete(String name)(Code)(Java Doc)
public void delete(int index)(Code)(Java Doc)
public static boolean deleteProperty(Scriptable obj, String name)(Code)(Java Doc)
public static boolean deleteProperty(Scriptable obj, int index)(Code)(Java Doc)
protected Object equivalentValues(Object value)(Code)(Java Doc)
public Object get(String name, Scriptable start)(Code)(Java Doc)
public Object get(int index, Scriptable start)(Code)(Java Doc)
public Object[] getAllIds()(Code)(Java Doc)
final public Object getAssociatedValue(Object key)(Code)(Java Doc)
final public int getAttributes(String name, Scriptable start)(Code)(Java Doc)
final public int getAttributes(int index, Scriptable start)(Code)(Java Doc)
public int getAttributes(String name)(Code)(Java Doc)
public int getAttributes(int index)(Code)(Java Doc)
abstract public String getClassName()(Code)(Java Doc)
public static Scriptable getClassPrototype(Scriptable scope, String className)(Code)(Java Doc)
public Object getDefaultValue(Class typeHint)(Code)(Java Doc)
public static Object getDefaultValue(Scriptable object, Class typeHint)(Code)(Java Doc)
public static Scriptable getFunctionPrototype(Scriptable scope)(Code)(Java Doc)
public Object getGetterOrSetter(String name, int index, boolean isSetter)(Code)(Java Doc)
public Object[] getIds()(Code)(Java Doc)
public static Scriptable getObjectPrototype(Scriptable scope)(Code)(Java Doc)
public Scriptable getParentScope()(Code)(Java Doc)
public static Object getProperty(Scriptable obj, String name)(Code)(Java Doc)
public static Object getProperty(Scriptable obj, int index)(Code)(Java Doc)
public static Object[] getPropertyIds(Scriptable obj)(Code)(Java Doc)
public Scriptable getPrototype()(Code)(Java Doc)
public static Scriptable getTopLevelScope(Scriptable obj)(Code)(Java Doc)
public static Object getTopScopeValue(Scriptable scope, Object key)(Code)(Java Doc)
public boolean has(String name, Scriptable start)(Code)(Java Doc)
public boolean has(int index, Scriptable start)(Code)(Java Doc)
public boolean hasInstance(Scriptable instance)(Code)(Java Doc)
public static boolean hasProperty(Scriptable obj, String name)(Code)(Java Doc)
public static boolean hasProperty(Scriptable obj, int index)(Code)(Java Doc)
public boolean isConst(String name)(Code)(Java Doc)
protected boolean isGetterOrSetter(String name, int index, boolean setter)(Code)(Java Doc)
final public boolean isSealed()(Code)(Java Doc)
public void put(String name, Scriptable start, Object value)(Code)(Java Doc)
public void put(int index, Scriptable start, Object value)(Code)(Java Doc)
public void putConst(String name, Scriptable start, Object value)(Code)(Java Doc)
public static void putConstProperty(Scriptable obj, String name, Object value)(Code)(Java Doc)
public static void putProperty(Scriptable obj, String name, Object value)(Code)(Java Doc)
public static void putProperty(Scriptable obj, int index, Object value)(Code)(Java Doc)
public static void redefineProperty(Scriptable obj, String name, boolean isConst)(Code)(Java Doc)
public synchronized void sealObject()(Code)(Java Doc)
final public void setAttributes(String name, Scriptable start, int attributes)(Code)(Java Doc)
public void setAttributes(int index, Scriptable start, int attributes)(Code)(Java Doc)
public void setAttributes(String name, int attributes)(Code)(Java Doc)
public void setAttributes(int index, int attributes)(Code)(Java Doc)
public void setGetterOrSetter(String name, int index, Callable getterOrSeter, boolean isSetter)(Code)(Java Doc)
public void setParentScope(Scriptable m)(Code)(Java Doc)
public void setPrototype(Scriptable m)(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.