Package org.apache.xalan.xsltc.runtime

Examples of org.apache.xalan.xsltc.runtime.Hashtable


  try {
      final int classCount = _bytecodes.length;
      _class = new Class[classCount];

      if (classCount > 1) {
          _auxClasses = new Hashtable();
      }

      for (int i = 0; i < classCount; i++) {
    _class[i] = loader.defineClass(_bytecodes[i]);
    final Class superClass = _class[i].getSuperclass();
View Full Code Here


                _document = (Document)node;
            }
            else {
                _document = node.getOwnerDocument();
            }
            _node2Ids = new Hashtable();
        }                         
    }
View Full Code Here

        Enumeration idValues = m_idAttributes.keys();
        if (!idValues.hasMoreElements()) {
            return null;
        }

        Hashtable idAttrsTable = new Hashtable();

        while (idValues.hasMoreElements()) {
            Object idValue = idValues.nextElement();

            idAttrsTable.put(idValue, m_idAttributes.get(idValue));
        }

        return idAttrsTable;
    }
View Full Code Here

            throw new IllegalArgumentException(err.toString());
        }
            
  if (_isIdentity) {
      if (_parameters == null) {
    _parameters = new Hashtable();
      }
      _parameters.put(name, value);
  }
  else {
      _translet.addParameter(name, value);
View Full Code Here

    /**
     * Sets up a translet-to-dom type mapping table
     */
    private Hashtable setupMapping(String[] namesArray) {
  final int nNames = namesArray.length;
  final Hashtable types = new Hashtable(nNames);
  for (int i = 0; i < nNames; i++) {
      types.put(namesArray[i], new Integer(i + NTYPES));
  }
  return types;
    }
View Full Code Here

  /**
   * SAX2: Receive notification of the beginning of a document.
   */
  public void startDocument() throws SAXException {
      _shortTexts     = new Hashtable();
      _names          = new Hashtable();
      _sp             = 0;
      _parentStack[0] = ROOTNODE;  // root
      _currentNode    = ROOTNODE + 1;
      _currentAttributeNode = 1;
      _type2[0] = NAMESPACE;
View Full Code Here

  _cdataStack.push(new Integer(-1));   // push dummy value
    }

    protected void initNamespaces() {
  // Namespaces
  _namespaces = new Hashtable();
  _nodeStack = new Stack();
  _prefixStack = new Stack();

  // Define the default namespace (initially maps to "" uri)
  Stack stack;
View Full Code Here

  _cdataStack.push(new Integer(-1));   // push dummy value
    }

    protected void initNamespaces() {
  // Namespaces
  _namespaces = new Hashtable();
  _nodeStack = new Stack();
  _prefixStack = new Stack();

  // Define the default namespace (initially maps to "" uri)
  Stack stack;
View Full Code Here

  try {
      final int classCount = _bytecodes.length;
      _class = new Class[classCount];

      if (classCount > 1) {
          _auxClasses = new Hashtable();
      }

      for (int i = 0; i < classCount; i++) {
    _class[i] = loader.defineClass(_bytecodes[i]);
    final Class superClass = _class[i].getSuperclass();
View Full Code Here

  /**
   * SAX2: Receive notification of the beginning of a document.
   */
  public void startDocument() throws SAXException {
      _shortTexts     = new Hashtable();
      _names          = new Hashtable();
      _sp             = 0;
      _parentStack[0] = ROOTNODE;  // root
      _currentNode    = ROOTNODE + 1;
      _currentAttributeNode = 1;
      _type2[0] = NAMESPACE;
View Full Code Here

TOP

Related Classes of org.apache.xalan.xsltc.runtime.Hashtable

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.