Examples of Attributes


Examples of com.sun.xml.internal.ws.streaming.Attributes

            failWithFullName("runtime.parser.invalidElement", reader);
        }

        List<A> adapters = new ArrayList<A>();

        Attributes attrs = XMLStreamReaderUtil.getAttributes(reader);
        String version = getMandatoryNonEmptyAttribute(reader, attrs, ATTR_VERSION);
        if (!version.equals(ATTRVALUE_VERSION_1_0)) {
            failWithLocalName("runtime.parser.invalidVersionNumber",
                reader, version);
        }
View Full Code Here

Examples of com.sun.xml.ws.streaming.Attributes

            failWithFullName("runtime.parser.invalidElement", reader);
        }

        List<A> adapters = new ArrayList<A>();

        Attributes attrs = XMLStreamReaderUtil.getAttributes(reader);
        String version = getMandatoryNonEmptyAttribute(reader, attrs, ATTR_VERSION);
        if (!version.equals(ATTRVALUE_VERSION_1_0)) {
            failWithLocalName("runtime.parser.invalidVersionNumber",
                reader, version);
        }
View Full Code Here

Examples of com.volantis.styling.engine.Attributes

                "b {font-weight: normal; counter-increment: testCounterTwo}" +
                "* {color: blue}" +
                "p {color: red; font-weight: bold; counter-increment: testCounter}";

        StylingEngine engine = createStylingEngine(css);
        Attributes attributes = createAttributes();

        // <p>
        engine.startElement(NS, "p", attributes);
        assertStylesEqual(StylesBuilder.getSparseStyles(
                "color: red; " +
View Full Code Here

Examples of com.zaranux.os.client.programs.Attributes

      final File f = fsNode.getFile();
     
      files.add(f.getAbsolutePath());
    }
   
    Attributes attributes = new Attributes(files.toArray(new String[0]));
    filesystemTreeGrid.run(attributes);
   
  }
View Full Code Here

Examples of de.lessvoid.xml.xpp3.Attributes

  public RemoveStandardAttributes(final Attributes controlAttributesParam) {
    controlAttributes = controlAttributesParam;
  }

  public Attributes removeStandard() {
    Attributes attributes = new Attributes(controlAttributes);
    attributes.remove("id");
    attributes.remove("height");
    attributes.remove("width");
    attributes.remove("x");
    attributes.remove("y");
    attributes.remove("align");
    attributes.remove("valign");
    attributes.remove("paddingLeft");
    attributes.remove("paddingRight");
    attributes.remove("paddingTop");
    attributes.remove("paddingBottom");
    attributes.remove("padding");
    attributes.remove("childClip");
    attributes.remove("visible");
    attributes.remove("visibleToMouse");
    attributes.remove("childLayout");
    attributes.remove("focusable");
    attributes.remove("filename");
    attributes.remove("filter");
    attributes.remove("imageMode");
    attributes.remove("inset");
    attributes.remove("backgroundColor");
    attributes.remove("backgroundImage");
    attributes.remove("font");
    attributes.remove("textHAlign");
    attributes.remove("textVAlign");
    attributes.remove("color");
    attributes.remove("selectionColor");
    attributes.remove("name");
    return attributes;
  }
View Full Code Here

Examples of io.fathom.cloud.protobuf.CloudCommons.Attributes

    }

    private Optional<String> findMeta(String key) {
        key = key.toLowerCase();

        Attributes attributes = data.getAttributes();
        for (KeyValueData kv : attributes.getUserAttributesList()) {
            if (key.equals(kv.getKey())) {
                return Optional.of(kv.getValue());
            }
        }
        return Optional.absent();
View Full Code Here

Examples of java.util.jar.Attributes

            JarFile jfile = new JarFile(path, false);
            Manifest mfst = jfile.getManifest();
            if (mfst != null) {
               
                // look for class path information from manifest
                Attributes attrs = mfst.getMainAttributes();
                String cpath = (String)attrs.get(Attributes.Name.CLASS_PATH);
                if (cpath != null) {
               
                    // set base path for all relative references
                    if (File.separatorChar != '/') {
                        path = path.replace('/', File.separatorChar);
View Full Code Here

Examples of java.util.jar.Attributes

  */
  private String fetchSpecNamesAndVersions(JarInputStream aJarStream) {
    StringBuffer result = new StringBuffer();
    Manifest manifest = aJarStream.getManifest();
    if ( manifest != null ){
      Attributes attrs = (Attributes)manifest.getMainAttributes();
      for (Iterator iter = attrs.keySet().iterator(); iter.hasNext(); ) {
        Attributes.Name attrName = (Attributes.Name)iter.next();
        addSpecAttrIfPresent(SPECIFICATION_TITLE, result, attrs, attrName);
        addSpecAttrIfPresent(SPECIFICATION_VERSION, result, attrs, attrName);
      }
      fLogger.fine("Specification-Version: " + result);
View Full Code Here

Examples of java.util.jar.Attributes

      InputStream in = jarFile.getInputStream(jarFile.getEntry("META-INF/MANIFEST.MF"));
      Manifest manifest = new Manifest(in);
      in.close();

      // Read the class names
      Attributes attributes = manifest.getMainAttributes();
      String classNameCsv = attributes.getValue("Preparator-Classes");
      if (classNameCsv == null) {
        throw new RegainException("The manifest in preparator file '" + file
            + "' has no 'Preparator-Classes' attribute");
      }
      String[] classNameArr = RegainToolkit.splitString(classNameCsv, ";", true);
View Full Code Here

Examples of java.util.jar.Attributes

        if (attributes == null)
        {
            final Manifest man = ((JarFile) getZipFile()).getManifest();
            if (man == null)
            {
                attributes = new Attributes(1);
            }
            else
            {
                attributes = man.getMainAttributes();
                if (attributes == null)
                {
                    attributes = new Attributes(1);
                }
            }
        }

        return attributes;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.