Examples of XLinkAttributes


Examples of at.bestsolution.efxclipse.formats.svg.svg.XLinkAttributes

      EList _children = rv.getChildren();
      Iterable<SvgStopElement> _filter = Iterables.<SvgStopElement>filter(_children, SvgStopElement.class);
      boolean _isEmpty = IterableExtensions.isEmpty(_filter);
      if (_isEmpty) {
        if ((element instanceof XLinkAttributes)) {
          final XLinkAttributes v = ((XLinkAttributes) element);
          SvgElement _resolvedInstance = v.getResolvedInstance();
          boolean _notEquals = (!Objects.equal(_resolvedInstance, null));
          if (_notEquals) {
            SvgElement _resolvedInstance_1 = v.getResolvedInstance();
            return this.resolveGradientStopElement(_resolvedInstance_1);
          }
        }
      } else {
        return rv;
View Full Code Here

Examples of buri.ddmsence.ddms.summary.xlink.XLinkAttributes

    element.appendChild(IdentifierTest.getFixture().getXOMElementCopy());
    element.appendChild(TitleTest.getFixture().getXOMElementCopy());
    element.appendChild(CreatorTest.getFixture().getXOMElementCopy());
    element.appendChild(SubjectCoverageTest.getFixture().getXOMElementCopy());

    Link link = new Link(new XLinkAttributes("http://en.wikipedia.org/wiki/Tank", "role", null, null));

    // #1: a ddms:relatedResources containing 1 ddms:RelatedResource
    Element rel1 = Util.buildDDMSElement(RelatedResource.getName(version), null);
    Util.addDDMSAttribute(rel1, "relationship", "http://purl.org/dc/terms/references");
    Element innerElement = Util.buildDDMSElement("RelatedResource", null);
View Full Code Here

Examples of buri.ddmsence.ddms.summary.xlink.XLinkAttributes

   * Returns a fixture object for testing.
   */
  public static RelatedResource getFixture() {
    try {
      List<Link> links = new ArrayList<Link>();
      links.add(new Link(new XLinkAttributes("http://en.wikipedia.org/wiki/Tank", "role", null, null)));
      return (new RelatedResource(links, "http://purl.org/dc/terms/references", "outbound",
        "http://purl.org/dc/terms/URI", "http://en.wikipedia.org/wiki/Tank", null));
    }
    catch (InvalidDDMSException e) {
      fail("Could not create fixture: " + e.getMessage());
View Full Code Here

Examples of buri.ddmsence.ddms.summary.xlink.XLinkAttributes

      builder = getBaseBuilder();
      builder.setValue(DIFFERENT_VALUE);
      assertFalse(elementComponent.equals(builder.commit()));
     
      builder = getBaseBuilder();
      XLinkAttributes attr = XLinkAttributesTest.getLocatorFixture();
      builder.getLinks().get(1).setXLinkAttributes(new XLinkAttributes.Builder(attr));
      assertFalse(elementComponent.equals(builder.commit()));     
    }
  }
View Full Code Here

Examples of buri.ddmsence.ddms.summary.xlink.XLinkAttributes

   * @param element the XOM element representing this
   * @throws InvalidDDMSException if any required information is missing or malformed
   */
  public Link(Element element) throws InvalidDDMSException {
    try {
      _xlinkAttributes = new XLinkAttributes(element);
      _securityAttributes = new SecurityAttributes(element);
      setXOMElement(element, true);
    }
    catch (InvalidDDMSException e) {
      e.setLocator(getQualifiedName());
View Full Code Here

Examples of buri.ddmsence.ddms.summary.xlink.XLinkAttributes

   * @param element the XOM element representing this
   * @throws InvalidDDMSException if any required information is missing or malformed
   */
  public TaskID(Element element) throws InvalidDDMSException {
    try {
      _xlinkAttributes = new XLinkAttributes(element);
      setXOMElement(element, true);
    }
    catch (InvalidDDMSException e) {
      e.setLocator(getQualifiedName());
      throw (e);
View Full Code Here

Examples of buri.ddmsence.ddms.summary.xlink.XLinkAttributes

      }
      String revisionID = element.getAttributeValue(REVISION_ID_NAME, getNamespace());
      if (!Util.isEmpty(revisionID)) {
        _revisionID = Integer.valueOf(revisionID);
      }
      _xlinkAttributes = new XLinkAttributes(element);
      _securityAttributes = new SecurityAttributes(element);
      validate();
    }
    catch (InvalidDDMSException e) {
      e.setLocator(getQualifiedName());
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.