FileDocCategorySizeDatePackage
XmlBox.javaAPI Docmp4parser 1.0-RC-171079Wed Dec 19 20:10:38 GMT 2012com.coremedia.iso.boxes

XmlBox

public class XmlBox extends com.googlecode.mp4parser.AbstractFullBox

Fields Summary
String
xml
public static final String
TYPE
Constructors Summary
public XmlBox()


      
        super(TYPE);
    
Methods Summary
public void_parseDetails(java.nio.ByteBuffer content)

        parseVersionAndFlags(content);
        xml = IsoTypeReader.readString(content, content.remaining());
    
protected voidgetContent(java.nio.ByteBuffer byteBuffer)

        writeVersionAndFlags(byteBuffer);
        byteBuffer.put(Utf8.convert(xml));
    
protected longgetContentSize()

        return 4 + Utf8.utf8StringLengthInBytes(xml);
    
public java.lang.StringgetXml()

        return xml;
    
public voidsetXml(java.lang.String xml)

        this.xml = xml;
    
public java.lang.StringtoString()

        return "XmlBox{" +
                "xml='" + xml + '\'" +
                '}";