Package tv.porst.swfretools.parser.structures

Examples of tv.porst.swfretools.parser.structures.QName


    else if (getUserObject() instanceof MultinameLA) {
      final MultinameLA cname = (MultinameLA) getUserObject();
      addNode("ns_set", cname.getNsSet());
    }
    else if (getUserObject() instanceof QName) {
      final QName cname = (QName) getUserObject();
      addNode("ns", cname.getNs());
      addNode("name", cname.getName());
    }
    else if (getUserObject() instanceof QNameA) {
      final QNameA cname = (QNameA) getUserObject();
      addNode("ns", cname.getNs());
      addNode("name", cname.getName());
    }
    else if (getUserObject() instanceof RTQName) {
      final RTQName cname = (RTQName) getUserObject();
      addNode("name", cname.getName());
    }
    else if (getUserObject() instanceof RTQNameA) {
      final RTQNameA cname = (RTQNameA) getUserObject();
      addNode("name", cname.getName());
    }
    else if (getUserObject() instanceof RTQNameL) {
      // Nothing to do
    }
    else if (getUserObject() instanceof RTQNameLA) {
      // Nothing to do
    }
    else if (getUserObject() instanceof GenericVector) {
      final GenericVector cname = (GenericVector) getUserObject();
      addNode("type_definition", cname.getTypeDefinition());
      addNode("param_count", cname.getParamCount());
      addNode("params", cname.getParams());
    }
    else {
      throw new IllegalStateException("Error: Unknown multiname");
    }
  }
View Full Code Here


    if (namespaceList == null) {
      throw new IllegalArgumentException("NamespaceList argument must not be null.");
    }

    if (multinameInfo.getKind().value() == 7) {
      final QName qname = (QName) multinameInfo.getData();

      final int ns = qname.getNs().value();
      final int nameIndex = qname.getName().value();

      final NamespaceInfo namespace = resolveNamespace(ns, namespaceList);

      if (namespace == null) {
        return new String[0];
View Full Code Here

TOP

Related Classes of tv.porst.swfretools.parser.structures.QName

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.