Class APSVASTXMLNode

java.lang.Object
com.appscend.vast.APSVASTXMLNode
Direct Known Subclasses:
APSVASTAdNode, APSVASTCategoryNode, APSVASTCompanionAdsNode, APSVASTCreativeNode, APSVASTCreativeTypeNode, APSVASTIconNode, APSVASTInLineNode, APSVASTMediaFileNode, APSVASTMezzanineNode, APSVASTNonLinearAdsNode, APSVASTRootNode, APSVASTVerificationNode, APSVASTViewableImpressionNode

public class APSVASTXMLNode extends Object
  • Field Details

  • Constructor Details

    • APSVASTXMLNode

      public APSVASTXMLNode()
  • Method Details

    • initWithNode

      public void initWithNode(APSVASTXMLNode node)
    • initWithTBXMLElement

      public void initWithTBXMLElement(org.jdom2.Element root)
    • _childrenNamed

      public ArrayList<Object> _childrenNamed(String name)
    • addChildWithName

      public void addChildWithName(Object child, String name)
    • addChildrenWithName

      public void addChildrenWithName(ArrayList<Object> child, String name)
    • childrenNamed

      public ArrayList<Object> childrenNamed(String name)
    • getOrCreateNodeWithName

      public Object getOrCreateNodeWithName(String nodeName)
    • getIfExistsNodeWithName

      public Object getIfExistsNodeWithName(String nodeName)
    • firstChildNamed

      public APSVASTXMLNode firstChildNamed(String name)
    • childrenNames

      public ArrayList<String> childrenNames()
    • urlsForChildrenNamed

      public ArrayList<String> urlsForChildrenNamed(String name)
    • errorURLsWithCode

      public ArrayList<String> errorURLsWithCode(int code)
    • urlsForCurrentNode

      public ArrayList<String> urlsForCurrentNode()
    • logWithLevel

      public void logWithLevel(int level)
    • durationFromString

      public static int durationFromString(String duration)
    • duration

      public int duration()
    • durationFromAttributeNamed

      public int durationFromAttributeNamed(String attr)