org.eclipse.wst.jsdt.web.core.javascript
Class NodeHelper
java.lang.Object
org.eclipse.wst.jsdt.web.core.javascript.NodeHelper
public class NodeHelper
- extends java.lang.Object
Provisional API: This class/interface is part of an interim API that is still under development and expected to
change significantly before reaching stability. It is being made available at this early stage to solicit feedback
from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
(repeatedly) as the API evolves.
Constructor Summary |
NodeHelper(IStructuredDocumentRegion region)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NodeHelper
public NodeHelper(IStructuredDocumentRegion region)
isInArray
public static boolean isInArray(java.lang.String[] StringArray,
java.lang.String text)
isQuoted
public static boolean isQuoted(java.lang.String string)
attrEquals
public boolean attrEquals(java.lang.String attribute,
java.lang.String value)
AttrToString
public java.lang.String AttrToString()
containsAttribute
public boolean containsAttribute(java.lang.String[] name)
getAttributeValue
public java.lang.String getAttributeValue(java.lang.String name)
getElementAsFlatString
public java.lang.String getElementAsFlatString()
getTagName
public java.lang.String getTagName()
isEndTag
public boolean isEndTag()
isSelfClosingTag
public boolean isSelfClosingTag()
nameEquals
public boolean nameEquals(java.lang.String name)
stripEndQuotes
public java.lang.String stripEndQuotes(java.lang.String text)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object