Package org.jboss.shrinkwrap.descriptor.spi

Examples of org.jboss.shrinkwrap.descriptor.spi.Node.text()


   private String getTextIfExists(Query query)
   {
      Node propery = engine.getSingle(query);
      if(propery != null)
      {
         return propery.text();
      }
      return null;
   }
}
View Full Code Here


            if (child.getNodeType() != org.w3c.dom.Node.TEXT_NODE)
            {
               Node newTarget = target.create(child.getNodeName());
               if (onlyTextChildren(child))
               {
                  newTarget.text(child.getTextContent());
                  readAttributes(newTarget, child);
               }
               else
               {
                  readRecursive(newTarget, child);
View Full Code Here

    @Override
    public String getDefaultProvider()
    {
        final Node defaultProvider = model.getSingle("default-provider");
        return defaultProvider == null ? null : defaultProvider.text();
    }

    @Override
    public String getMessageInterpolator()
    {
View Full Code Here

    @Override
    public String getMessageInterpolator()
    {
        final Node messageInterpolator = model.getSingle("message-interpolator");
        return messageInterpolator == null ? null : messageInterpolator.text();
    }

    @Override
    public String getTraversableResolver()
    {
View Full Code Here

    @Override
    public String getTraversableResolver()
    {
        final Node traversableResolver = model.getSingle("traversable-resolver");
        return traversableResolver == null ? null : traversableResolver.text();
    }

    @Override
    public String getConstraintValidatorFactory()
    {
View Full Code Here

    @Override
    public String getConstraintValidatorFactory()
    {
        final Node constraintValidatorFactory = model.getSingle("constraint-validator-factory");
        return constraintValidatorFactory == null ? null : constraintValidatorFactory.text();
    }

    @Override
    public List<String> getConstraintMappings()
    {
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.