DeferredDocumentImpl.getNodeObject
Code IndexAdd Codota to your IDE (free)

Best Java code snippets using org.apache.xerces.dom.DeferredDocumentImpl.getNodeObject (Showing top 7 results out of 315)

origin: com.rackspace.apache/xerces2-xsd11

/** Synchronizes the data (name and value) for fast nodes. */
protected final void synchronizeData() {
  // no need to sync in the future
  needsSyncData(false);
  // fluff data
  DeferredDocumentImpl ownerDocument =
    (DeferredDocumentImpl)this.ownerDocument;
  // we don't want to generate any event for this so turn them off
  boolean orig = ownerDocument.mutationEvents;
  ownerDocument.mutationEvents = false;
  name = ownerDocument.getNodeName(fNodeIndex);
  // attributes
  setupDefaultAttributes();
  int index = ownerDocument.getNodeExtra(fNodeIndex);
  if (index != -1) {
    NamedNodeMap attrs = getAttributes();
    do {
      NodeImpl attr = (NodeImpl)ownerDocument.getNodeObject(index);
      attrs.setNamedItem(attr);
      index = ownerDocument.getPrevSibling(index);
    } while (index != -1);
  }
  // set mutation events flag back to its original value
  ownerDocument.mutationEvents = orig;
} // synchronizeData()
origin: com.rackspace.apache/xerces2-xsd11

boolean seenSchemaDefault = false;
do {
  AttrImpl attr = (AttrImpl) ownerDocument.getNodeObject(attrIndex);
origin: com.rackspace.apache/xerces2-xsd11

/** Synchronizes the default attribute values. */
protected void synchronizeChildren() {
  // we don't want to generate any event for this so turn them off
  boolean orig = ownerDocument.getMutationEvents();
  ownerDocument.setMutationEvents(false);
  // attributes are now synced
  needsSyncChildren(false);
  // create attributes node map
  DeferredDocumentImpl ownerDocument =
    (DeferredDocumentImpl)this.ownerDocument;
  attributes = new NamedNodeMapImpl(ownerDocument);
  // Default attributes dangle as children of the element
  // definition "node" in the internal fast table.
  for (int nodeIndex = ownerDocument.getLastChild(fNodeIndex);
     nodeIndex != -1;
     nodeIndex = ownerDocument.getPrevSibling(nodeIndex)) {
    Node attr = ownerDocument.getNodeObject(nodeIndex);
    attributes.setNamedItem(attr);
  }
  // set mutation events flag back to its original value
  ownerDocument.setMutationEvents(orig);
} // synchronizeChildren()
origin: com.rackspace.apache/xerces2-xsd11

 index = getPrevSibling(index)) {
ChildNode node = (ChildNode) getNodeObject(index);
if (lastNode == null) {
  lastNode = node;
origin: com.rackspace.apache/xerces2-xsd11

index = ownerDocument.getPrevSibling(index)) {
DeferredNode node = ownerDocument.getNodeObject(index);
int type = node.getNodeType();
switch (type) {
origin: com.rackspace.apache/xerces2-xsd11

 index = getPrevSibling(index)) {
ChildNode node = (ChildNode)getNodeObject(index);
if (last == null) {
  last = node;
origin: com.rackspace.apache/xerces2-xsd11

 index = getPrevSibling(index)) {
ChildNode node = (ChildNode) getNodeObject(index);
if (lastNode == null) {
  lastNode = node;
org.apache.xerces.domDeferredDocumentImplgetNodeObject

Javadoc

Instantiates the requested node object.

Popular methods of DeferredDocumentImpl

  • getNodeExtra
    Returns the extra info of the given node.
  • getNodeName
    Returns the name of the given node.
  • getNodeType
    Returns the type of the given node.
  • getPrevSibling
    Returns the prev sibling of the given node.
  • <init>
    Experimental constructor.
  • appendChild
    Appends a child to the specified parent in the table.
  • binarySearch
    Performs a binary search for a target value in an array of values. The array of values must be in as
  • clearChunkIndex
    Clears the specified value in the given data at the chunk and index. Note that this method will clea
  • clearChunkValue
  • cloneNode
    Creates a clone of the specified node.
  • createChunk
  • createDeferredAttribute
    Creates an attribute in the table.
  • createChunk,
  • createDeferredAttribute,
  • createDeferredCDATASection,
  • createDeferredComment,
  • createDeferredDocument,
  • createDeferredDocumentType,
  • createDeferredElement,
  • createDeferredElementDefinition,
  • createDeferredEntity,
  • createDeferredEntityReference

Popular in Java

  • Start an intent from android
  • onRequestPermissionsResult (Fragment)
  • setContentView (Activity)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Table (org.hibernate.mapping)
    A relational table

For IntelliJ IDEA,
Android Studio or Eclipse

  • Search for JavaScript code betaCodota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutBlogContact Us
  • Plugin user guideTerms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)