Codota Logo
BinaryFile.<init>
Code IndexAdd Codota to your IDE (free)

How to use
ome.xml.model.BinaryFile
constructor

Best Java code snippets using ome.xml.model.BinaryFile.<init> (Showing top 17 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
LocalDateTime l =
  • Codota Iconnew LocalDateTime()
  • Codota IconLocalDateTime.now()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseLocalDateTime(text)
  • Smart code suggestions by Codota
}
origin: org.openmicroscopy/specification

/**
 * Creates a binary file.
 *
 * @return See above.
 */
public BinaryFile createBinaryFile()
{
 BinaryFile bf = new BinaryFile();
 bf.setBinData(createBinData(SIZE_X, SIZE_Y, BYTES_PER_PIXEL));
 return bf;
}
origin: ome/ome-xml

setBinaryFile(new BinaryFile(
 (Element) BinaryFile_nodeList.get(0), model));
origin: org.openmicroscopy/ome-xml

setBinaryFile(new BinaryFile(
 (Element) BinaryFile_nodeList.get(0), model));
origin: ome/ome-xml

public void setBinaryFileFileName(String fileName, int fileAnnotationIndex)
{
 // Parents: {u'FileAnnotation': {u'StructuredAnnotations': {u'OME': None}}}
 // FileName is not a reference
 OME o0 = root;
 if (o0.getStructuredAnnotations() == null)
 {
  o0.setStructuredAnnotations(new StructuredAnnotations());
 }
 StructuredAnnotations o1 = o0.getStructuredAnnotations();
 if (o1.sizeOfFileAnnotationList() == fileAnnotationIndex)
 {
  o1.addFileAnnotation(new FileAnnotation());
 }
 FileAnnotation o2 = o1.getFileAnnotation(fileAnnotationIndex);
 if (o2.getBinaryFile() == null)
 {
  o2.setBinaryFile(new BinaryFile());
 }
 BinaryFile o3 = o2.getBinaryFile();
 o3.setFileName(fileName);
}
origin: org.openmicroscopy/ome-xml

public void setBinaryFileSize(NonNegativeLong size, int fileAnnotationIndex)
{
 // Parents: {u'FileAnnotation': {u'StructuredAnnotations': {u'OME': None}}}
 // Size is not a reference
 OME o0 = root;
 if (o0.getStructuredAnnotations() == null)
 {
  o0.setStructuredAnnotations(new StructuredAnnotations());
 }
 StructuredAnnotations o1 = o0.getStructuredAnnotations();
 if (o1.sizeOfFileAnnotationList() == fileAnnotationIndex)
 {
  o1.addFileAnnotation(new FileAnnotation());
 }
 FileAnnotation o2 = o1.getFileAnnotation(fileAnnotationIndex);
 if (o2.getBinaryFile() == null)
 {
  o2.setBinaryFile(new BinaryFile());
 }
 BinaryFile o3 = o2.getBinaryFile();
 o3.setSize(size);
}
origin: org.openmicroscopy/ome-xml

public void setBinaryFileMIMEType(String mimeType, int fileAnnotationIndex)
{
 // Parents: {u'FileAnnotation': {u'StructuredAnnotations': {u'OME': None}}}
 // MIMEType is not a reference
 OME o0 = root;
 if (o0.getStructuredAnnotations() == null)
 {
  o0.setStructuredAnnotations(new StructuredAnnotations());
 }
 StructuredAnnotations o1 = o0.getStructuredAnnotations();
 if (o1.sizeOfFileAnnotationList() == fileAnnotationIndex)
 {
  o1.addFileAnnotation(new FileAnnotation());
 }
 FileAnnotation o2 = o1.getFileAnnotation(fileAnnotationIndex);
 if (o2.getBinaryFile() == null)
 {
  o2.setBinaryFile(new BinaryFile());
 }
 BinaryFile o3 = o2.getBinaryFile();
 o3.setMIMEType(mimeType);
}
origin: ome/ome-xml

public void setBinaryFileSize(NonNegativeLong size, int fileAnnotationIndex)
{
 // Parents: {u'FileAnnotation': {u'StructuredAnnotations': {u'OME': None}}}
 // Size is not a reference
 OME o0 = root;
 if (o0.getStructuredAnnotations() == null)
 {
  o0.setStructuredAnnotations(new StructuredAnnotations());
 }
 StructuredAnnotations o1 = o0.getStructuredAnnotations();
 if (o1.sizeOfFileAnnotationList() == fileAnnotationIndex)
 {
  o1.addFileAnnotation(new FileAnnotation());
 }
 FileAnnotation o2 = o1.getFileAnnotation(fileAnnotationIndex);
 if (o2.getBinaryFile() == null)
 {
  o2.setBinaryFile(new BinaryFile());
 }
 BinaryFile o3 = o2.getBinaryFile();
 o3.setSize(size);
}
origin: org.openmicroscopy/ome-xml

public void setBinaryFileFileName(String fileName, int fileAnnotationIndex)
{
 // Parents: {u'FileAnnotation': {u'StructuredAnnotations': {u'OME': None}}}
 // FileName is not a reference
 OME o0 = root;
 if (o0.getStructuredAnnotations() == null)
 {
  o0.setStructuredAnnotations(new StructuredAnnotations());
 }
 StructuredAnnotations o1 = o0.getStructuredAnnotations();
 if (o1.sizeOfFileAnnotationList() == fileAnnotationIndex)
 {
  o1.addFileAnnotation(new FileAnnotation());
 }
 FileAnnotation o2 = o1.getFileAnnotation(fileAnnotationIndex);
 if (o2.getBinaryFile() == null)
 {
  o2.setBinaryFile(new BinaryFile());
 }
 BinaryFile o3 = o2.getBinaryFile();
 o3.setFileName(fileName);
}
origin: ome/ome-xml

public void setBinaryFileMIMEType(String mimeType, int fileAnnotationIndex)
{
 // Parents: {u'FileAnnotation': {u'StructuredAnnotations': {u'OME': None}}}
 // MIMEType is not a reference
 OME o0 = root;
 if (o0.getStructuredAnnotations() == null)
 {
  o0.setStructuredAnnotations(new StructuredAnnotations());
 }
 StructuredAnnotations o1 = o0.getStructuredAnnotations();
 if (o1.sizeOfFileAnnotationList() == fileAnnotationIndex)
 {
  o1.addFileAnnotation(new FileAnnotation());
 }
 FileAnnotation o2 = o1.getFileAnnotation(fileAnnotationIndex);
 if (o2.getBinaryFile() == null)
 {
  o2.setBinaryFile(new BinaryFile());
 }
 BinaryFile o3 = o2.getBinaryFile();
 o3.setMIMEType(mimeType);
}
origin: ome/ome-xml

public void setBinaryFileBinDataLength(NonNegativeLong length, int fileAnnotationIndex)
{
 // Parents: {u'BinaryFile': {u'FileAnnotation': {u'StructuredAnnotations': {u'OME': None}}}, u'Mask': None, u'Pixels': {u'Image': {u'OME': None}}}
 // Length is not a reference
 OME o0 = root;
 if (o0.getStructuredAnnotations() == null)
 {
  o0.setStructuredAnnotations(new StructuredAnnotations());
 }
 StructuredAnnotations o1 = o0.getStructuredAnnotations();
 if (o1.sizeOfFileAnnotationList() == fileAnnotationIndex)
 {
  o1.addFileAnnotation(new FileAnnotation());
 }
 FileAnnotation o2 = o1.getFileAnnotation(fileAnnotationIndex);
 if (o2.getBinaryFile() == null)
 {
  o2.setBinaryFile(new BinaryFile());
 }
 BinaryFile o3 = o2.getBinaryFile();
 if (o3.getBinData() == null)
 {
  o3.setBinData(new BinData());
 }
 BinData o4 = o3.getBinData();
 o4.setLength(length);
}
origin: org.openmicroscopy/ome-xml

public void setBinaryFileBinDataBigEndian(Boolean bigEndian, int fileAnnotationIndex)
{
 // Parents: {u'BinaryFile': {u'FileAnnotation': {u'StructuredAnnotations': {u'OME': None}}}, u'Mask': None, u'Pixels': {u'Image': {u'OME': None}}}
 // BigEndian is not a reference
 OME o0 = root;
 if (o0.getStructuredAnnotations() == null)
 {
  o0.setStructuredAnnotations(new StructuredAnnotations());
 }
 StructuredAnnotations o1 = o0.getStructuredAnnotations();
 if (o1.sizeOfFileAnnotationList() == fileAnnotationIndex)
 {
  o1.addFileAnnotation(new FileAnnotation());
 }
 FileAnnotation o2 = o1.getFileAnnotation(fileAnnotationIndex);
 if (o2.getBinaryFile() == null)
 {
  o2.setBinaryFile(new BinaryFile());
 }
 BinaryFile o3 = o2.getBinaryFile();
 if (o3.getBinData() == null)
 {
  o3.setBinData(new BinData());
 }
 BinData o4 = o3.getBinData();
 o4.setBigEndian(bigEndian);
}
origin: ome/ome-xml

public void setBinaryFileBinData(byte[] base64Binary, int fileAnnotationIndex)
{
 // Parents: {u'BinaryFile': {u'FileAnnotation': {u'StructuredAnnotations': {u'OME': None}}}, u'Mask': None, u'Pixels': {u'Image': {u'OME': None}}}
 // Base64Binary is not a reference
 OME o0 = root;
 if (o0.getStructuredAnnotations() == null)
 {
  o0.setStructuredAnnotations(new StructuredAnnotations());
 }
 StructuredAnnotations o1 = o0.getStructuredAnnotations();
 if (o1.sizeOfFileAnnotationList() == fileAnnotationIndex)
 {
  o1.addFileAnnotation(new FileAnnotation());
 }
 FileAnnotation o2 = o1.getFileAnnotation(fileAnnotationIndex);
 if (o2.getBinaryFile() == null)
 {
  o2.setBinaryFile(new BinaryFile());
 }
 BinaryFile o3 = o2.getBinaryFile();
 if (o3.getBinData() == null)
 {
  o3.setBinData(new BinData());
 }
 BinData o4 = o3.getBinData();
 o4.setBase64Binary(base64Binary);
}
origin: ome/ome-xml

public void setBinaryFileBinDataBigEndian(Boolean bigEndian, int fileAnnotationIndex)
{
 // Parents: {u'BinaryFile': {u'FileAnnotation': {u'StructuredAnnotations': {u'OME': None}}}, u'Mask': None, u'Pixels': {u'Image': {u'OME': None}}}
 // BigEndian is not a reference
 OME o0 = root;
 if (o0.getStructuredAnnotations() == null)
 {
  o0.setStructuredAnnotations(new StructuredAnnotations());
 }
 StructuredAnnotations o1 = o0.getStructuredAnnotations();
 if (o1.sizeOfFileAnnotationList() == fileAnnotationIndex)
 {
  o1.addFileAnnotation(new FileAnnotation());
 }
 FileAnnotation o2 = o1.getFileAnnotation(fileAnnotationIndex);
 if (o2.getBinaryFile() == null)
 {
  o2.setBinaryFile(new BinaryFile());
 }
 BinaryFile o3 = o2.getBinaryFile();
 if (o3.getBinData() == null)
 {
  o3.setBinData(new BinData());
 }
 BinData o4 = o3.getBinData();
 o4.setBigEndian(bigEndian);
}
origin: org.openmicroscopy/ome-xml

public void setBinaryFileBinDataLength(NonNegativeLong length, int fileAnnotationIndex)
{
 // Parents: {u'BinaryFile': {u'FileAnnotation': {u'StructuredAnnotations': {u'OME': None}}}, u'Mask': None, u'Pixels': {u'Image': {u'OME': None}}}
 // Length is not a reference
 OME o0 = root;
 if (o0.getStructuredAnnotations() == null)
 {
  o0.setStructuredAnnotations(new StructuredAnnotations());
 }
 StructuredAnnotations o1 = o0.getStructuredAnnotations();
 if (o1.sizeOfFileAnnotationList() == fileAnnotationIndex)
 {
  o1.addFileAnnotation(new FileAnnotation());
 }
 FileAnnotation o2 = o1.getFileAnnotation(fileAnnotationIndex);
 if (o2.getBinaryFile() == null)
 {
  o2.setBinaryFile(new BinaryFile());
 }
 BinaryFile o3 = o2.getBinaryFile();
 if (o3.getBinData() == null)
 {
  o3.setBinData(new BinData());
 }
 BinData o4 = o3.getBinData();
 o4.setLength(length);
}
origin: ome/ome-xml

public void setBinaryFileBinDataCompression(Compression compression, int fileAnnotationIndex)
{
 // Parents: {u'BinaryFile': {u'FileAnnotation': {u'StructuredAnnotations': {u'OME': None}}}, u'Mask': None, u'Pixels': {u'Image': {u'OME': None}}}
 // Compression is not a reference
 OME o0 = root;
 if (o0.getStructuredAnnotations() == null)
 {
  o0.setStructuredAnnotations(new StructuredAnnotations());
 }
 StructuredAnnotations o1 = o0.getStructuredAnnotations();
 if (o1.sizeOfFileAnnotationList() == fileAnnotationIndex)
 {
  o1.addFileAnnotation(new FileAnnotation());
 }
 FileAnnotation o2 = o1.getFileAnnotation(fileAnnotationIndex);
 if (o2.getBinaryFile() == null)
 {
  o2.setBinaryFile(new BinaryFile());
 }
 BinaryFile o3 = o2.getBinaryFile();
 if (o3.getBinData() == null)
 {
  o3.setBinData(new BinData());
 }
 BinData o4 = o3.getBinData();
 o4.setCompression(compression);
}
origin: org.openmicroscopy/ome-xml

public void setBinaryFileBinDataCompression(Compression compression, int fileAnnotationIndex)
{
 // Parents: {u'BinaryFile': {u'FileAnnotation': {u'StructuredAnnotations': {u'OME': None}}}, u'Mask': None, u'Pixels': {u'Image': {u'OME': None}}}
 // Compression is not a reference
 OME o0 = root;
 if (o0.getStructuredAnnotations() == null)
 {
  o0.setStructuredAnnotations(new StructuredAnnotations());
 }
 StructuredAnnotations o1 = o0.getStructuredAnnotations();
 if (o1.sizeOfFileAnnotationList() == fileAnnotationIndex)
 {
  o1.addFileAnnotation(new FileAnnotation());
 }
 FileAnnotation o2 = o1.getFileAnnotation(fileAnnotationIndex);
 if (o2.getBinaryFile() == null)
 {
  o2.setBinaryFile(new BinaryFile());
 }
 BinaryFile o3 = o2.getBinaryFile();
 if (o3.getBinData() == null)
 {
  o3.setBinData(new BinData());
 }
 BinData o4 = o3.getBinData();
 o4.setCompression(compression);
}
origin: org.openmicroscopy/ome-xml

public void setBinaryFileBinData(byte[] base64Binary, int fileAnnotationIndex)
{
 // Parents: {u'BinaryFile': {u'FileAnnotation': {u'StructuredAnnotations': {u'OME': None}}}, u'Mask': None, u'Pixels': {u'Image': {u'OME': None}}}
 // Base64Binary is not a reference
 OME o0 = root;
 if (o0.getStructuredAnnotations() == null)
 {
  o0.setStructuredAnnotations(new StructuredAnnotations());
 }
 StructuredAnnotations o1 = o0.getStructuredAnnotations();
 if (o1.sizeOfFileAnnotationList() == fileAnnotationIndex)
 {
  o1.addFileAnnotation(new FileAnnotation());
 }
 FileAnnotation o2 = o1.getFileAnnotation(fileAnnotationIndex);
 if (o2.getBinaryFile() == null)
 {
  o2.setBinaryFile(new BinaryFile());
 }
 BinaryFile o3 = o2.getBinaryFile();
 if (o3.getBinData() == null)
 {
  o3.setBinData(new BinData());
 }
 BinData o4 = o3.getBinData();
 o4.setBase64Binary(base64Binary);
}
ome.xml.modelBinaryFile<init>

Javadoc

Default constructor.

Popular methods of BinaryFile

  • setBinData
  • asXMLElement
  • getBinData
  • getChildrenByTagName
  • getFileName
  • getMIMEType
  • getSize
  • setExternal
  • setFileName
  • setMIMEType
  • setSize
  • update
    Updates BinaryFile recursively from an XML DOM tree. NOTE: No properties are removed, only added or
  • setSize,
  • update

Popular in Java

  • Updating database using SQL prepared statement
  • compareTo (BigDecimal)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • FileInputStream (java.io)
    A FileInputStream obtains input bytes from a file in a file system. What files are available depends
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • URLConnection (java.net)
    The abstract class URLConnection is the superclass of all classes that represent a communications li
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now