Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

oracle.javatools.xml.bind
Class DOMBindingRuntime

java.lang.Object
  extended by oracle.javatools.xml.bind.DOMBindingRuntime

public class DOMBindingRuntime
extends java.lang.Object

Sets up runtime proxy class to bind DOM to interfaces.


Constructor Summary
DOMBindingRuntime(org.w3c.dom.Document document, XMLBinding binding)
           
 
Method Summary
static org.w3c.dom.Element getBoundElement(java.lang.Object proxyObj)
          For the specified proxy object, this method returns the bound Element, if proxyObj corresponds directly to a single Element.
 java.lang.Object getProxy()
           
static void setDefaultIndentPrefs(IndentPrefs defaultIndentPrefs)
           
 void setEnableWhitespace(boolean enableWhitespace)
           
 void setIndentWidth(int width, boolean useTabs)
           
 void setIndentWidth(int width, boolean useTabs, int tabSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMBindingRuntime

public DOMBindingRuntime(org.w3c.dom.Document document,
                         XMLBinding binding)
Method Detail

getBoundElement

public static org.w3c.dom.Element getBoundElement(java.lang.Object proxyObj)
For the specified proxy object, this method returns the bound Element, if proxyObj corresponds directly to a single Element. If proxyObj is null or is not a proxy object or is not a single-element proxy object, this method returns null.


setDefaultIndentPrefs

public static void setDefaultIndentPrefs(IndentPrefs defaultIndentPrefs)

setIndentWidth

public void setIndentWidth(int width,
                           boolean useTabs)

setIndentWidth

public void setIndentWidth(int width,
                           boolean useTabs,
                           int tabSize)

setEnableWhitespace

public void setEnableWhitespace(boolean enableWhitespace)

getProxy

public java.lang.Object getProxy()

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

Copyright © 1997, 2011, Oracle. All rights reserved.