com.alibaba.simpleimage.util
类 NodeUtils

java.lang.Object
  继承者 com.alibaba.simpleimage.util.NodeUtils

public class NodeUtils
extends Object

类NodeUtils.java的实现描述:TODO 类实现描述

作者:
wendell 2011-8-29 下午03:13:23

构造方法摘要
NodeUtils()
           
 
方法摘要
static Node cloneNode(Node node)
          Currently only use by GIFStreamMetadata and GIFImageMetadata
static String getAttr(Node node, String attrName)
           
static Node getChild(Node parent, String nodeName)
           
static double getDoubleAttr(Node node, String attrName)
           
static int getIntAttr(Node node, String attrName)
           
static void removeChild(Node parent, String nodeName)
           
static void setAttrValue(Node node, String attrName, double value)
           
static void setAttrValue(Node node, String attrName, int value)
           
static void setAttrValue(Node node, String attrName, String value)
           
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

NodeUtils

public NodeUtils()
方法详细信息

cloneNode

public static Node cloneNode(Node node)
Currently only use by GIFStreamMetadata and GIFImageMetadata

参数:
node -
返回:

getChild

public static Node getChild(Node parent,
                            String nodeName)

removeChild

public static void removeChild(Node parent,
                               String nodeName)

setAttrValue

public static void setAttrValue(Node node,
                                String attrName,
                                String value)

setAttrValue

public static void setAttrValue(Node node,
                                String attrName,
                                int value)

setAttrValue

public static void setAttrValue(Node node,
                                String attrName,
                                double value)

getAttr

public static String getAttr(Node node,
                             String attrName)

getIntAttr

public static int getIntAttr(Node node,
                             String attrName)

getDoubleAttr

public static double getDoubleAttr(Node node,
                                   String attrName)


Copyright © 2012–2013 Alibaba Group. All rights reserved.