|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fosstrak.ale.util.SerializerUtil
public class SerializerUtil
This class provides some methods to serialize ec specifications and reports.
| Constructor Summary | |
|---|---|
SerializerUtil()
|
|
| Method Summary | |
|---|---|
static void |
serializeAddReaders(org.fosstrak.ale.wsdl.alelr.epcglobal.AddReaders readers,
java.lang.String pathName)
Serializes an AddReaders to xml and stores this xml into a file. |
static void |
serializeECReports(org.fosstrak.ale.xsd.ale.epcglobal.ECReports ecReports,
java.io.Writer writer)
This method serializes ec reports to an xml and writes it into a writer. |
static void |
serializeECReportsPretty(org.fosstrak.ale.xsd.ale.epcglobal.ECReports ecReports,
java.io.Writer writer)
This method serializes ec reports to a well formed xml and writes it into a writer. |
static void |
serializeECSpec(org.fosstrak.ale.xsd.ale.epcglobal.ECSpec ecSpec,
java.io.FileOutputStream writer)
This method serializes an ec specification to an xml and writes it into a writer. |
static void |
serializeECSpec(org.fosstrak.ale.xsd.ale.epcglobal.ECSpec ecSpec,
java.io.Writer writer)
This method serializes en ECSpec to an xml and writes it into a writer. |
static void |
serializeECSpecPretty(org.fosstrak.ale.xsd.ale.epcglobal.ECSpec ecSpec,
java.io.FileOutputStream writer)
This method serializes an ec specification to a well formed xml and writes it into a writer. |
static void |
serializeLRSpec(org.fosstrak.ale.xsd.ale.epcglobal.LRSpec spec,
java.lang.String pathName,
boolean pretty)
This method serializes an LRSpec to an xml and writes it into a file. |
static void |
serializeLRSpec(org.fosstrak.ale.xsd.ale.epcglobal.LRSpec spec,
java.io.Writer writer)
This method serializes an LRSpec to an xml and writes it into a file. |
static void |
serializeRemoveReaders(org.fosstrak.ale.wsdl.alelr.epcglobal.RemoveReaders readers,
java.lang.String pathName)
Serializes a RemoveReaders to xml and stores this xml into a file. |
static void |
serializeSetProperties(org.fosstrak.ale.wsdl.alelr.epcglobal.SetProperties props,
java.lang.String pathName)
Serializes an SetProperties to xml and stores this xml into a file. |
static void |
serializeSetReaders(org.fosstrak.ale.wsdl.alelr.epcglobal.SetReaders readers,
java.lang.String pathName)
Serializes a SetReaders to xml and stores this xml into a file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SerializerUtil()
| Method Detail |
|---|
public static void serializeECSpec(org.fosstrak.ale.xsd.ale.epcglobal.ECSpec ecSpec,
java.io.FileOutputStream writer)
throws java.io.IOException
ecSpec - to serializewriter - containing the xml
java.io.IOException - if serialization fails
public static void serializeECSpecPretty(org.fosstrak.ale.xsd.ale.epcglobal.ECSpec ecSpec,
java.io.FileOutputStream writer)
throws java.io.IOException
ecSpec - to serializewriter - to write the well formed xml into
java.io.IOException - if serialization fails
public static void serializeECReports(org.fosstrak.ale.xsd.ale.epcglobal.ECReports ecReports,
java.io.Writer writer)
throws java.io.IOException
ecReports - to serializewriter - to write the xml into
java.io.IOException - if serialization fails
public static void serializeECReportsPretty(org.fosstrak.ale.xsd.ale.epcglobal.ECReports ecReports,
java.io.Writer writer)
throws java.io.IOException
ecReports - to serializewriter - to write the well formed xml into
java.io.IOException - if serialization fails
public static void serializeLRSpec(org.fosstrak.ale.xsd.ale.epcglobal.LRSpec spec,
java.lang.String pathName,
boolean pretty)
throws java.io.IOException
spec - the LRSpec to be written into a filepathName - the file where to storepretty - flag whether well-formed xml or not
java.io.IOException - whenever an io problem occurs
public static void serializeLRSpec(org.fosstrak.ale.xsd.ale.epcglobal.LRSpec spec,
java.io.Writer writer)
throws java.io.IOException
spec - the LRSpec to be written into a filepathName - the file where to storepretty - flag whether well-formed xml or not
java.io.IOException - whenever an io problem occurs
public static void serializeSetProperties(org.fosstrak.ale.wsdl.alelr.epcglobal.SetProperties props,
java.lang.String pathName)
throws java.io.IOException
props - the SetProperties to be serialized.pathName - the path to the file where to store the xml.
java.io.IOException - if the file cannot be used.
public static void serializeRemoveReaders(org.fosstrak.ale.wsdl.alelr.epcglobal.RemoveReaders readers,
java.lang.String pathName)
throws java.io.IOException
readers - the RemoveReaders to be serialized.pathName - the path to the file where to store the xml.
java.io.IOException - if the file cannot be used.
public static void serializeSetReaders(org.fosstrak.ale.wsdl.alelr.epcglobal.SetReaders readers,
java.lang.String pathName)
throws java.io.IOException
readers - the SetReaders to be serialized.pathName - the path to the file where to store the xml.
java.io.IOException - if the file cannot be used.
public static void serializeAddReaders(org.fosstrak.ale.wsdl.alelr.epcglobal.AddReaders readers,
java.lang.String pathName)
throws java.io.IOException
readers - the AddReaders to be serialized.pathName - the path to the file where to store the xml.
java.io.IOException - if the file cannot be used.
public static void serializeECSpec(org.fosstrak.ale.xsd.ale.epcglobal.ECSpec ecSpec,
java.io.Writer writer)
throws java.io.IOException
ecSpec - spec to be serialized.writer - to writer where to store.
java.io.IOException - if the file cannot be read.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||