Package org.apache.xerces.util

Examples of org.apache.xerces.util.AugmentationsImpl


    protected Augmentations modifyAugmentations(
        Augmentations augs,
        boolean force) {
        if (force || isTopLevelIncludedItem()) {
            if (augs == null) {
                augs = new AugmentationsImpl();
            }
            augs.putItem(XINCLUDE_INCLUDED, Boolean.TRUE);
        }
        return augs;
    }
View Full Code Here


            // call handler
            if (fDocumentHandler != null) {
                if (fNotifyCharRefs) {
                    fDocumentHandler.startGeneralEntity(fCharRefLiteral, null, null, null);
                }
                Augmentations augs = new AugmentationsImpl();
                augs.putItem(CHAR_REF, Boolean.TRUE);
                fDocumentHandler.characters(fStringBuffer2, augs);
                if (fNotifyCharRefs) {
                    fDocumentHandler.endGeneralEntity(fCharRefLiteral, null);
                }
            }
View Full Code Here

      if ((this.fValidation) && (i <= 32))
      {
        if (this.fTempAugmentations != null)
          this.fTempAugmentations.removeAllItems();
        else
          this.fTempAugmentations = new AugmentationsImpl();
        localAugmentations = this.fTempAugmentations;
        localAugmentations.putItem("CHAR_REF_PROBABLE_WS", Boolean.TRUE);
      }
      this.fDocumentHandler.characters(this.fStringBuffer2, localAugmentations);
      if (this.fNotifyCharRefs)
View Full Code Here

    this.fNamespaceContext = ((XIncludeNamespaceSupport)paramNamespaceContext);
    this.fDocLocation = paramXMLLocator;
    setupCurrentBaseURI(paramXMLLocator);
    saveBaseURI();
    if (paramAugmentations == null)
      paramAugmentations = new AugmentationsImpl();
    paramAugmentations.putItem("currentBaseURI", this.fCurrentBaseURI);
    if (!isRootDocument())
    {
      this.fParentXIncludeHandler.fHasIncludeReportedContent = true;
      if (this.fParentXIncludeHandler.searchForRecursiveIncludes(this.fCurrentBaseURI.getExpandedSystemId()))
View Full Code Here

  protected Augmentations modifyAugmentations(Augmentations paramAugmentations, boolean paramBoolean)
  {
    if ((paramBoolean) || (isTopLevelIncludedItem()))
    {
      if (paramAugmentations == null)
        paramAugmentations = new AugmentationsImpl();
      paramAugmentations.putItem(XINCLUDE_INCLUDED, Boolean.TRUE);
    }
    return paramAugmentations;
  }
View Full Code Here

      if (paramAttributeMap != null)
      {
        int i = paramAttributeMap.getLength();
        this.fAugmentations.setSize(i);
        for (int j = 0; j < i; j++)
          this.fAugmentations.setElementAt(new AugmentationsImpl(), j);
      }
      else
      {
        this.fAugmentations.setSize(0);
      }
View Full Code Here

      if (i < 0)
      {
        AttrImpl localAttrImpl = (AttrImpl)((CoreDocumentImpl)this.fElement.getOwnerDocument()).createAttributeNS(paramQName.uri, paramQName.rawname, paramQName.localpart);
        localAttrImpl.setNodeValue(paramString2);
        i = this.fElement.setXercesAttributeNode(localAttrImpl);
        this.fAugmentations.insertElementAt(new AugmentationsImpl(), i);
        localAttrImpl.setSpecified(false);
      }
      return i;
    }
View Full Code Here

                try {
                    method = cls.getMethod("removeAllItems", null);
                }
                catch (NoSuchMethodException e2) {
                    // NOTE: This should not happen! -Ac
                    augs = new AugmentationsImpl();
                }
            }
            if (method != null) {
                try {
                    method.invoke(augs, null);
                }
                catch (IllegalAccessException e) {
                    // NOTE: This should not happen! -Ac
                    augs = new AugmentationsImpl();
                }
                catch (InvocationTargetException e) {
                    // NOTE: This should not happen! -Ac
                    augs = new AugmentationsImpl();
                }
            }
            augs.putItem(AUGMENTATIONS, SYNTHESIZED_ITEM);
        }
        return augs;
View Full Code Here

                try {
                    method = cls.getMethod("removeAllItems", null);
                }
                catch (NoSuchMethodException e2) {
                    // NOTE: This should not happen! -Ac
                    augs = new AugmentationsImpl();
                }
            }
            if (method != null) {
                try {
                    method.invoke(augs, null);
                }
                catch (IllegalAccessException e) {
                    // NOTE: This should not happen! -Ac
                    augs = new AugmentationsImpl();
                }
                catch (InvocationTargetException e) {
                    // NOTE: This should not happen! -Ac
                    augs = new AugmentationsImpl();
                }
            }
            augs.putItem(AUGMENTATIONS, fLocationItem);
        }
        return augs;
View Full Code Here

                try {
                    method = cls.getMethod("removeAllItems", null);
                }
                catch (NoSuchMethodException e2) {
                    // NOTE: This should not happen! -Ac
                    augs = new AugmentationsImpl();
                }
            }
            if (method != null) {
                try {
                    method.invoke(augs, null);
                }
                catch (IllegalAccessException e) {
                    // NOTE: This should not happen! -Ac
                    augs = new AugmentationsImpl();
                }
                catch (InvocationTargetException e) {
                    // NOTE: This should not happen! -Ac
                    augs = new AugmentationsImpl();
                }
            }
            augs.putItem(AUGMENTATIONS, SYNTHESIZED_ITEM);
        }
        return augs;
View Full Code Here

TOP

Related Classes of org.apache.xerces.util.AugmentationsImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.